Skip to content

Commit

Permalink
Merge pull request tornadoweb#539 from msabramo/travis-py26-allow-fai…
Browse files Browse the repository at this point in the history
…lure

Enhance the set of configurations tested by Travis CI
  • Loading branch information
bdarnell committed Jun 17, 2012
2 parents 4cdc02f + c7fe53b commit 49fede6
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
# http://travis-ci.org/#!/facebook/tornado
language: python
# The build of 2.6 on travis has a bug related to ssl (it segfaults in
# test_sslv2_fail)
python:
- 2.5
- 2.6
- 2.7
- pypy
- 3.2
matrix:
allow_failures:
# 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"
- python: 3.2
env: LANG="en_US.utf-8"
- python: 3.2
env: LANG="C"
# 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
Expand Down

0 comments on commit 49fede6

Please sign in to comment.