]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Reinstate the 'cd maint' in .travis.yml.
authorBen Darnell <ben@bendarnell.com>
Fri, 17 Jan 2014 04:00:26 +0000 (23:00 -0500)
committerBen Darnell <ben@bendarnell.com>
Fri, 17 Jan 2014 04:00:26 +0000 (23:00 -0500)
This turned out to be breaking the speedups module.

.travis.yml

index 704e09ad05c818e51f7b2e9c439af1b85ac5d534..8a57987f9b90d1b01d35a34b2522ba0d01f7841a 100644 (file)
@@ -25,6 +25,10 @@ install:
     - pip install --use-mirrors coveralls
 
 script:
+    # Get out of the source directory before running tests to avoid PYTHONPATH
+    # confusion.  This is necessary to ensure that the speedups module can
+    # be found in the installation directory.
+    - cd maint
     - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export TORNADO_EXTENSION=1; fi
     - export TARGET="-m tornado.test.runtests"
     # We use "python -m coverage" instead of the "bin/coverage" script
@@ -44,7 +48,7 @@ script:
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then python $TARGET --resolver=tornado.platform.twisted.TwistedResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION != pypy && $DEPS == true ]]; then python $TARGET --resolver=tornado.platform.caresresolver.CaresResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python $TARGET --ioloop_time_monotonic; fi
-    - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then cd docs && mkdir sphinx-out && sphinx-build -E -n -W -b html . sphinx-out; fi
+    - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then cd ../docs && mkdir sphinx-out && sphinx-build -E -n -W -b html . sphinx-out; fi
 
 after_success:
     coveralls
\ No newline at end of file