diff --git a/setup.py b/setup.py index 9459dd66db0b..d63d39ce98c1 100644 --- a/setup.py +++ b/setup.py @@ -297,7 +297,7 @@ def run_2to3(self, files): # We need to skip certain files that have already been # converted to Python 3.x filtered = [x for x in files if should_2to3(x, self.build_lib)] - if sys.platform.startswith('win'): + if sys.platform.startswith('win') or 'TRAVIS' in os.environ: # doing this in parallel on windows may crash your computer [refactor(f) for f in filtered] else: