Skip to content

Commit 9795b15

Browse files
committed
Run tests in parallel on Travis and in tox
1 parent 6410dab commit 9795b15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ install:
1919
script:
2020
- mkdir ../tmp_test_dir
2121
- cd ../tmp_test_dir
22-
- python ../matplotlib/tests.py -sv
22+
- python ../matplotlib/tests.py -sv --processes=-1 --process-timeout=300

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ envlist = py26, py27, py31, py32
1010
changedir = /tmp
1111
commands =
1212
sh -c 'rm -f $HOME/.matplotlib/fontList*'
13-
{envpython} {toxinidir}/tests.py
13+
{envpython} {toxinidir}/tests.py --processes=-1 --process-timeout=300
1414
deps =
1515
nose
1616
numpy

0 commit comments

Comments
 (0)