Fix travis build for python3
This commit is contained in:
parent
6c16f8cad7
commit
daeb7c41f6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue