From: Ben Darnell Date: Mon, 27 Feb 2012 18:15:48 +0000 (-0800) Subject: Fix travis build for python3 X-Git-Tag: v2.3.0~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daeb7c41f6a4cefb7b75701388f04f7c676395e3;p=thirdparty%2Ftornado.git Fix travis build for python3 --- diff --git a/.travis.yml b/.travis.yml index 499a7fce7..d39e21090 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