summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-08-24 07:36:21 -0400
committerDonald Stufft <donald@stufft.io>2013-08-27 06:49:40 -0400
commitfab60dc5924b2315e82ca36d9aa75b77aab95c51 (patch)
tree9a958e854c8fb804db5baec13dd9fd3553ae1ea9 /.travis.yml
parent4516a34e1c9d2770203bd09efab1d6b21bdda0ec (diff)
downloadpip-fab60dc5924b2315e82ca36d9aa75b77aab95c51.tar.gz
Do not use parallel tests on Python 3.2
There seems to be some issues with parallel tests and Python 3.2 in pytest or pytest-xdist, so we run the tests normally for now on 3.2.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5f580da96..c209ffdf9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,9 @@ install:
- pip install --upgrade setuptools
- pip install pytest pytest-xdist git+https://github.com/pypa/virtualenv@develop#egg=virtualenv scripttest>=1.3 mock
# Using -n 8because multiprocessing says a travis box has 16 CPUs (8 is half)
-script: py.test -n 8
+script:
+ - "if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then py.test; fi"
+ - "if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then py.test -n 8; fi"
notifications:
irc: "irc.freenode.org#pip"
branches: