[Python-checkins] Travis CI: run coverage test using --fail-env-changed (#3541)

Victor Stinner webhook-mailer at python.org
Wed Sep 13 08:17:30 EDT 2017


https://github.com/python/cpython/commit/a7b3bc554c6fdc868accc1480038712c74354b42
commit: a7b3bc554c6fdc868accc1480038712c74354b42
branch: master
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-09-13T05:17:27-07:00
summary:

Travis CI: run coverage test using --fail-env-changed (#3541)

files:
M .travis.yml

diff --git a/.travis.yml b/.travis.yml
index 148c0eb3f96..2e0ad87affb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,7 +56,7 @@ matrix:
             ./venv/bin/python -m test.pythoninfo
       script:
         # 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.
         # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
         - source ./venv/bin/activate



More information about the Python-checkins mailing list