travis.yml: Reproduce #1780 in CI
This commit is contained in:
parent
d1cab4aff5
commit
243feb9e8a
10
.travis.yml
10
.travis.yml
|
@ -30,9 +30,13 @@ install:
|
||||||
- curl-config --version; pip freeze
|
- curl-config --version; pip freeze
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Get out of the source directory before running tests to avoid PYTHONPATH
|
# Run the tests once from the source directory to detect issues
|
||||||
# confusion. This is necessary to ensure that the speedups module can
|
# involving relative __file__ paths; see
|
||||||
# be found in the installation directory.
|
# https://github.com/tornadoweb/tornado/issues/1780
|
||||||
|
- unset TORNADO_EXTENSION && python -m tornado.test
|
||||||
|
# For all other test variants, get out of the source directory before
|
||||||
|
# running tests to ensure that we get the installed speedups module
|
||||||
|
# instead of the source directory which doesn't have it.
|
||||||
- cd maint
|
- cd maint
|
||||||
# Copy the coveragerc down so coverage.py can find it.
|
# Copy the coveragerc down so coverage.py can find it.
|
||||||
- cp ../.coveragerc .
|
- cp ../.coveragerc .
|
||||||
|
|
Loading…
Reference in New Issue