From daeb7c41f6a4cefb7b75701388f04f7c676395e3 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Mon, 27 Feb 2012 10:15:48 -0800 Subject: [PATCH] Fix travis build for python3 --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 499a7fce..d39e2109 100644 --- a/.travis.yml +++ b/.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