]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
.travis.yml: Test with more full dependencies using "matrix: include:"
authorMarc Abramowitz <marc@marc-abramowitz.com>
Sun, 17 Jun 2012 07:07:37 +0000 (00:07 -0700)
committerMarc Abramowitz <marc@marc-abramowitz.com>
Sun, 17 Jun 2012 07:25:36 +0000 (00:25 -0700)
feature of .travis.yml

.travis.yml

index 50b4407d30dec14f0b9aace38f08ca34971aac9e..2acd63d6f103a859b04f95ed99569aae19136da0 100644 (file)
@@ -11,9 +11,20 @@ matrix:
         # The build of 2.6 on travis has a bug related to ssl (it segfaults in
         # test_sslv2_fail)
         - python: 2.6
+    include:
+        - python: 2.5
+          env: FULL="true"
+        - python: 2.6
+          env: FULL="true"
+        - python: 2.7
+          env: FULL="true"
 # TODO: install pycurl, twisted, etc (depends on python version)
 install:
     - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors simplejson; fi
+    - if [[ $FULL == 'true' ]]; then sudo apt-get install librtmp-dev; pip install --use-mirrors MySQL-python pycurl; fi
+    - if [[ $FULL == 'true' && $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors twisted==11.0.0 'zope.interface<4.0'; fi
+    - if [[ $FULL == 'true' && $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors twisted==11.0.0; fi
+    - if [[ $FULL == 'true' && $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors twisted==12.0.0; fi
     - python setup.py install
 script:
     # Must cd somewhere else so python3 doesn't get confused and run