Skip to content
Snippets Groups Projects
Unverified Commit 8616a264 authored by Massimiliano Culpo's avatar Massimiliano Culpo Committed by Todd Gamblin
Browse files

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)
parent e22d3250
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ install: ...@@ -177,7 +177,7 @@ install:
- pip install --upgrade pip - pip install --upgrade pip
- pip install --upgrade six - pip install --upgrade six
- pip install --upgrade setuptools - pip install --upgrade setuptools
- pip install --upgrade codecov - pip install --upgrade codecov coverage==4.5.4
- pip install --upgrade flake8 - pip install --upgrade flake8
- pip install --upgrade pep8-naming - pip install --upgrade pep8-naming
- if [[ "$TEST_SUITE" == "doc" ]]; then - if [[ "$TEST_SUITE" == "doc" ]]; then
......
...@@ -46,7 +46,7 @@ extra_args="" ...@@ -46,7 +46,7 @@ extra_args=""
if [[ -n "$@" ]]; then if [[ -n "$@" ]]; then
extra_args="-k $@" extra_args="-k $@"
fi fi
${coverage_run} bin/spack test --verbose "$extra_args" ${coverage_run} bin/spack test -x --verbose "$extra_args"
#----------------------------------------------------------- #-----------------------------------------------------------
# Run tests for setup-env.sh # Run tests for setup-env.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment