Browse files

Fix travis build for python3

  • Loading branch information...
1 parent 6c16f8c commit daeb7c41f6a4cefb7b75701388f04f7c676395e3 @bdarnell bdarnell committed Feb 27, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 .travis.yml
View
8 .travis.yml
@@ -1,3 +1,4 @@
+# http://travis-ci.org/#!/facebook/tornado
language: python
python:
- 2.6
@@ -6,4 +7,9 @@ python:
# TODO: install pycurl, twisted, etc (depends on python version)
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

0 comments on commit daeb7c4

Please sign in to comment.