]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix travis build for python3
authorBen Darnell <ben@bendarnell.com>
Mon, 27 Feb 2012 18:15:48 +0000 (10:15 -0800)
committerBen Darnell <ben@bendarnell.com>
Mon, 27 Feb 2012 18:15:48 +0000 (10:15 -0800)
.travis.yml

index 499a7fce710a019038d80642534ea9a3121aff01..d39e2109075d7c39ad574b467670bbd23f970d8a 100644 (file)
@@ -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