]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
.travis.yml: don't install Twisted on 3.2 or pycurl on pypy.
authorBen Darnell <ben@bendarnell.com>
Tue, 13 May 2014 23:57:43 +0000 (19:57 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 13 May 2014 23:57:43 +0000 (19:57 -0400)
.travis.yml

index 45cfe625b8e9ee08542d78e969f6bc6a03f8b5fd..9c8baa940a32efd18d62ca9a2e81b57b719f5ccf 100644 (file)
@@ -15,11 +15,14 @@ env:
 install:
     # always install unittest2 on py26 even if $DEPS is unset
     - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
-    - if [[ $DEPS == true ]]; then pip install pycares pycurl twisted; fi
+    - if [[ $DEPS == true ]]; then pip install pycares; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then pip install futures mock Monotime==1.0; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then pip install sphinx==1.2; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' && $DEPS == true ]]; then pip install futures mock; fi
+    - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' && $DEPS == true ]]; then pip install pycurl; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.2' && $DEPS == true ]]; then pip install mock; fi
+    # Twisted runs on 2.x and 3.3+
+    - if [[ $TRAVIS_PYTHON_VERSION != '3.2' && $DEPS == true ]]; then pip install Twisted; fi
     # On travis the extension should always be built
     - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export TORNADO_EXTENSION=1; fi
     - python setup.py install