File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 27
27
- BUILD_DOCS=false
28
28
- TEST_ARGS=--no-pep8
29
29
- NUMPY=numpy
30
+ - NPROC=2
30
31
31
32
language : python
32
33
@@ -69,7 +70,7 @@ script:
69
70
# The number of processes is hardcoded, because using too many causes the
70
71
# Travis VM to run out of memory (since so many copies of inkscape and
71
72
# ghostscript are running at the same time).
72
- - echo Testing using 8 processes
73
+ - echo Testing using $NPROC processes
73
74
# Generate the font caches in a single process before starting the
74
75
# multiple processes
75
76
- gcc --version
@@ -79,7 +80,7 @@ script:
79
80
export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples
80
81
mkdir ../tmp_test_dir
81
82
cd ../tmp_test_dir
82
- gdb -return-child-result -batch -ex r -ex bt --args python ../matplotlib/tests.py -sv --processes=2 --process-timeout=300 $TEST_ARGS
83
+ gdb -return-child-result -batch -ex r -ex bt --args python ../matplotlib/tests.py -sv --processes=$NPROC --process-timeout=300 $TEST_ARGS
83
84
else
84
85
cd doc
85
86
python make.py html --small --warningsaserrors
You can’t perform that action at this time.
0 commit comments