Travis exits at the first failing test, pin codecov at v4.5.4 (#14179)

Before this commit we used to run the entire unit test suite
in the presence of a failure. Since we currently rely a lot
on the state of the filesystem etc. the end report was most
of the time showing spurious failures that were a consequence
of the first failing test.

This PR makes unit tests exit at the first failing test

Also, pin codecov at v4.5.4 (last one supporting Python 2.6)
This commit is contained in:
Massimiliano Culpo 2019-12-16 10:56:54 +01:00 committed by Todd Gamblin
parent e22d3250dd
commit 8616a26406
No known key found for this signature in database
GPG key ID: 66B24B9050FDD0B8
2 changed files with 2 additions and 2 deletions

View file

@ -177,7 +177,7 @@ install:
- pip install --upgrade pip
- pip install --upgrade six
- pip install --upgrade setuptools
- pip install --upgrade codecov
- pip install --upgrade codecov coverage==4.5.4
- pip install --upgrade flake8
- pip install --upgrade pep8-naming
- if [[ "$TEST_SUITE" == "doc" ]]; then

View file

@ -46,7 +46,7 @@ extra_args=""
if [[ -n "$@" ]]; then
extra_args="-k $@"
fi
${coverage_run} bin/spack test --verbose "$extra_args"
${coverage_run} bin/spack test -x --verbose "$extra_args"
#-----------------------------------------------------------
# Run tests for setup-env.sh