Skip to content

Commit d279633

Browse files
committed
Merge pull request #762 from pymc-devs/paralleltests
re parallelize tests
2 parents d09e0b0 + de2f4ef commit d279633

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ before_install:
1515
install:
1616
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
1717
- source activate testenv
18-
- conda install --yes $DEPS
18+
- conda install --yes ipython pyzmq numpy scipy nose matplotlib pandas Cython patsy statsmodels
19+
1920
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes mock; fi
2021
- pip install --no-deps numdifftools
2122
- pip install git+https://github.com/Theano/Theano.git
2223
- pip install git+https://github.com/mahmoudimus/nose-timer.git
2324
- python setup.py build_ext --inplace
2425

2526
env:
26-
- DEPS="ipython pyzmq numpy scipy nose matplotlib pandas Cython patsy statsmodels"
27-
27+
- TESTCMD=" -vv --with-timer -e test_examples -e test_distributions"
28+
- TESTCMD=" -vv --with-timer pymc3.tests.test_distributions"
29+
- TESTCMD=" -vv --with-timer pymc3.tests.test_examples:test_examples0"
30+
- TESTCMD=" -vv --with-timer pymc3.tests.test_examples:test_examples1"
31+
- TESTCMD=" -vv --with-timer pymc3.tests.test_examples:test_examples2"
2832
script:
29-
- nosetests
33+
- nosetests $TESTCMD

0 commit comments

Comments
 (0)