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:
|
2012-06-17 06:58:54 +00:00
|
|
|
- 2.5
|
2012-06-17 06:46:03 +00:00
|
|
|
- 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
|
2012-06-17 06:46:03 +00:00
|
|
|
matrix:
|
2012-06-17 07:07:37 +00:00
|
|
|
include:
|
|
|
|
- python: 2.5
|
|
|
|
env: FULL="true"
|
|
|
|
- python: 2.6
|
|
|
|
env: FULL="true"
|
|
|
|
- python: 2.7
|
|
|
|
env: FULL="true"
|
2012-06-17 07:30:31 +00:00
|
|
|
- python: 3.2
|
|
|
|
env: LANG="en_US.utf-8"
|
|
|
|
- python: 3.2
|
|
|
|
env: LANG="C"
|
2012-02-27 18:09:46 +00:00
|
|
|
install:
|
2012-09-06 00:54:21 +00:00
|
|
|
- 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
|
2012-09-16 21:02:49 +00:00
|
|
|
- if [[ $FULL == 'true' ]]; then sudo apt-get install librtmp-dev; pip install --use-mirrors pycurl; fi
|
2012-06-17 07:07:37 +00:00
|
|
|
- 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
|
2012-04-19 05:56:14 +00:00
|
|
|
- python -m tornado.test.runtests
|