Skip to content

Commit

Permalink
.travis.yml: Test with more full dependencies using "matrix: include:"
Browse files Browse the repository at this point in the history
feature of .travis.yml
  • Loading branch information
msabramo committed Jun 17, 2012
1 parent ee5af79 commit d02f599
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d02f599

Please sign in to comment.