Fix travis build for python3

This commit is contained in:
Ben Darnell 2012-02-27 10:15:48 -08:00
parent 6c16f8cad7
commit daeb7c41f6
1 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# http://travis-ci.org/#!/facebook/tornado
language: python language: python
python: python:
- 2.6 - 2.6
@ -6,4 +7,9 @@ python:
# TODO: install pycurl, twisted, etc (depends on python version) # TODO: install pycurl, twisted, etc (depends on python version)
install: install:
- python setup.py install - python setup.py install
script: python -m tornado.test.runtests 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