diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-04-27 11:47:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 11:47:56 -0700 |
commit | bb5a433a46a8ffc69b01e8477eb6646f4c66f9d2 (patch) | |
tree | dc20c9c224a85eda36661b1af6be5e8ad3e6e4d2 /.travis.yml | |
parent | a0ebce0cb3824d154e405d8044ded1aea5e26e12 (diff) | |
download | spack-bb5a433a46a8ffc69b01e8477eb6646f4c66f9d2.tar.gz spack-bb5a433a46a8ffc69b01e8477eb6646f4c66f9d2.tar.bz2 spack-bb5a433a46a8ffc69b01e8477eb6646f4c66f9d2.tar.xz spack-bb5a433a46a8ffc69b01e8477eb6646f4c66f9d2.zip |
Separate integration tests; simplify test scripts (#4006)
* Separate build integration tests; simplify test scripts
- Move build tests out of the regular Travis unit tests, add more smoke
test packages to build.
- Run all test scripts with bash -e, which fails on error.
- Factor coverage out into a Travis environment variable, so it's more
obvious from .travis.yml which tests contribute to coverage and which
don't.
- Factor dependency checking and much of the front-matter in tests
scripts into a setup.sh script, which is sourced by all the test
scripts. Extra cruft in each tests script now reduced to 2 lines at
the beginning.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 60b3b1cc31..4b95903d16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,11 @@ matrix: - python: '2.7' os: linux language: python - env: TEST_SUITE=unit + env: [ TEST_SUITE=unit, COVERAGE=true ] + - python: '2.7' + os: linux + language: python + env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=hypre^mpich' ] - python: '3.3' os: linux language: python @@ -37,7 +41,11 @@ matrix: - python: '3.6' os: linux language: python - env: TEST_SUITE=unit + env: [ TEST_SUITE=unit, COVERAGE=true ] + - python: '3.6' + os: linux + language: python + env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=hypre^mpich' ] - python: '2.7' os: linux language: python @@ -48,7 +56,7 @@ matrix: env: TEST_SUITE=doc - os: osx language: generic - env: [ TEST_SUITE=unit, PYTHON_VERSION=2.7 ] + env: [ TEST_SUITE=unit, PYTHON_VERSION=2.7, COVERAGE=true ] #============================================================================= # Environment |