From: Marc Abramowitz Date: Sun, 17 Jun 2012 07:07:37 +0000 (-0700) Subject: .travis.yml: Test with more full dependencies using "matrix: include:" X-Git-Tag: v2.4.0~60^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02f59997cbd19cb7a2ed6dab7f9408f68aa9e72;p=thirdparty%2Ftornado.git .travis.yml: Test with more full dependencies using "matrix: include:" feature of .travis.yml --- diff --git a/.travis.yml b/.travis.yml index 50b4407d3..2acd63d6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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