summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-05-09 23:52:39 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-05-11 02:23:22 +0900
commit3903658bfc8e53c89ebde593d762cb8fb732129a (patch)
treed766677106dd9351ce0884d8b09328a305386ce9 /.travis.yml
parent85fa2dbe369aa6cd1fac64f214aa57668a535ec9 (diff)
downloadspack-3903658bfc8e53c89ebde593d762cb8fb732129a.tar.gz
spack-3903658bfc8e53c89ebde593d762cb8fb732129a.tar.bz2
spack-3903658bfc8e53c89ebde593d762cb8fb732129a.tar.xz
spack-3903658bfc8e53c89ebde593d762cb8fb732129a.zip
coverage: only run coverage for subset of unit tests
- Codecov cannot handle as many coverage reports as we are generating - as a result, our PR coverage pages have been broken for a while, and it's hard to tell people where to enhance their testing in PR reviews. - Scale back to only running coverage for 3.7 and 2.7 unit tests - This is *probably* better. We run the build tests for good measure, but we do not need to evaluate them for coverage. The coverage reports are about unit tests.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 694ada8cc3..e506712464 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,7 +34,7 @@ jobs:
sudo: required
os: linux
language: python
- env: TEST_SUITE=unit
+ env: [ TEST_SUITE=unit, COVERAGE=true ]
- python: '3.4'
sudo: required
os: linux
@@ -54,7 +54,7 @@ jobs:
sudo: required
os: linux
language: python
- env: TEST_SUITE=unit
+ env: [ TEST_SUITE=unit, COVERAGE=true ]
addons:
apt:
packages:
@@ -80,7 +80,7 @@ jobs:
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 ]
# mpich (AutotoolsPackage)
- stage: 'build tests'
python: '2.7'