]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
travis: Skip "nodeps" build on pypy3 2009/head
authorBen Darnell <ben@bendarnell.com>
Sat, 15 Apr 2017 15:03:21 +0000 (11:03 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 15 Apr 2017 15:03:21 +0000 (11:03 -0400)
virtualenv (or pip, or setuptools) no longer supports py32, so this
won't work until travis has pypy3 3.5 available.

.travis.yml

index ae806fa5ec393478af8dc1ea34c5f4f56f44242d..4b2ac2bcc48ff738bfaf6010cf19fee2c30aa44f 100644 (file)
@@ -25,10 +25,11 @@ install:
     - travis_retry python setup.py install
     - travis_retry pip install codecov virtualenv
     # Create a separate no-dependencies virtualenv to make sure all imports
-    # of optional-dependencies are guarded.
-    - virtualenv ./nodeps
-    - ./nodeps/bin/python -VV
-    - ./nodeps/bin/python setup.py install
+    # of optional-dependencies are guarded. (skipped on pypy3 because
+    # virtualenv no longer supports py32)
+    - if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then virtualenv ./nodeps; fi
+    - if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then ./nodeps/bin/python -VV; fi
+    - if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then ./nodeps/bin/python setup.py install; fi
     - curl-config --version; pip freeze
 
 script:
@@ -67,7 +68,7 @@ script:
     - if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then python $TARGET --resolver=tornado.platform.twisted.TwistedResolver; fi
     #- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then python $TARGET --resolver=tornado.platform.caresresolver.CaresResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then python $TARGET --ioloop_time_monotonic; fi
-    - ../nodeps/bin/python -m tornado.test.runtests
+    - if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then ../nodeps/bin/python -m tornado.test.runtests; fi
     # make coverage reports for Codecov to find
     - if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then coverage xml; fi
     - export TORNADO_EXTENSION=0