Travis CI: run coverage test using --fail-env-changed (#3541)
This commit is contained in:
parent
d403a29c00
commit
a7b3bc554c
|
@ -56,7 +56,7 @@ matrix:
|
||||||
./venv/bin/python -m test.pythoninfo
|
./venv/bin/python -m test.pythoninfo
|
||||||
script:
|
script:
|
||||||
# Skip tests that re-run the entire test suite.
|
# Skip tests that re-run the entire test suite.
|
||||||
- ./venv/bin/python -m coverage run --pylib -m test -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
|
- ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
|
||||||
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
|
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
|
||||||
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
|
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
|
||||||
- source ./venv/bin/activate
|
- source ./venv/bin/activate
|
||||||
|
|
Loading…
Reference in New Issue