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

Skip to content

Commit 268c91c

Browse files
committed
Use $(nproc) to determine number of processors, as discovered by @pelson.
1 parent 2ba68a4 commit 268c91c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
- 3.3
88

99
install:
10-
- pip install --use-mirrors nose python-dateutil numpy
10+
- pip -q install --use-mirrors nose python-dateutil numpy
1111
# This is a workaround to install the latest versions of pyparsing,
1212
# which are not yet available on PyPI
1313
- 'if [ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]; then pip install http://sourceforge.net/projects/pyparsing/files/pyparsing/pyparsing-2.0.0/pyparsing-2.0.0.tar.gz; fi'
@@ -19,4 +19,5 @@ install:
1919
script:
2020
- mkdir ../tmp_test_dir
2121
- cd ../tmp_test_dir
22-
- python ../matplotlib/tests.py -sv
22+
- echo Testing using $(nproc) processes
23+
- python ../matplotlib/tests.py -sv --processes=$(nproc) --process-timeout=300

0 commit comments

Comments
 (0)