Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ca85ef

Browse files
committed
Fix travis.yaml
1 parent a336dcd commit 7ca85ef

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ script:
3939
# Generate the font caches in a single process before starting the
4040
# multiple processes
4141
- python -c "from matplotlib import font_manager"
42-
- python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300 $(TEST_ARGS)
42+
- python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300 $TEST_ARGS
4343

4444
after_failure:
4545
- tar cjf result_images.tar.bz2 result_images

tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ def run():
4242
if __name__ == '__main__':
4343
if '--no-pep8' in sys.argv:
4444
default_test_modules.remove('matplotlib.tests.test_coding_standards')
45+
sys.argv.remove('--no-pep8')
4546
elif '--pep8' in sys.argv:
4647
default_test_modules = ['matplotlib.tests.test_coding_standards']
48+
sys.argv.remove('--pep8')
4749

4850
run()

0 commit comments

Comments
 (0)