tornado/.travis.yml

35 lines
1.3 KiB
YAML
Raw Normal View History

2012-02-27 18:15:48 +00:00
# http://travis-ci.org/#!/facebook/tornado
2012-02-27 18:09:46 +00:00
language: python
python:
- 2.5
- 2.6
2012-02-27 18:09:46 +00:00
- 2.7
2012-06-17 06:56:42 +00:00
- pypy
2012-02-27 18:09:46 +00:00
- 3.2
matrix:
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"
2012-02-27 18:09:46 +00:00
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors simplejson unittest2; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors unittest2; fi
- if [[ $FULL == 'true' ]]; then sudo apt-get install librtmp-dev; pip install --use-mirrors 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
2012-02-27 18:09:46 +00:00
- python setup.py install
2012-02-27 18:15:48 +00:00
script:
# Must cd somewhere else so python3 doesn't get confused and run
# the python2 code from the current directory instead of the installed
# 2to3 version.
- cd maint
- python -m tornado.test.runtests