summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-08-03 20:39:43 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2018-08-04 21:18:49 -0700
commit7e0bd152b72cf4990276943b168ffd2279770a91 (patch)
tree00782c78af96832c7fb8f1f06bfc6f6c0221cf51 /.travis.yml
parent5cc2309330bf584e1b2b54061e6f820ccb615141 (diff)
downloadspack-7e0bd152b72cf4990276943b168ffd2279770a91.tar.gz
spack-7e0bd152b72cf4990276943b168ffd2279770a91.tar.bz2
spack-7e0bd152b72cf4990276943b168ffd2279770a91.tar.xz
spack-7e0bd152b72cf4990276943b168ffd2279770a91.zip
Generate coverage reports for all unit and build tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index 73b258e540..d64a33174a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,7 +34,7 @@ jobs:
- python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=unit, COVERAGE=true ]
+ env: TEST_SUITE=unit
- python: '3.3'
os: linux
language: python
@@ -50,13 +50,13 @@ jobs:
- python: '3.6'
os: linux
language: python
- env: [ TEST_SUITE=unit, COVERAGE=true ]
+ env: TEST_SUITE=unit
- python: '3.7'
os: linux
dist: xenial
sudo: true
language: python
- env: [ TEST_SUITE=unit, COVERAGE=true ]
+ env: TEST_SUITE=unit
- python: '3.6'
os: linux
language: python
@@ -64,48 +64,48 @@ jobs:
- stage: 'unit tests - osx'
os: osx
language: generic
- env: [ TEST_SUITE=unit, PYTHON_VERSION=2.7, COVERAGE=true ]
+ env: [ TEST_SUITE=unit, PYTHON_VERSION=2.7 ]
# mpich (AutotoolsPackage)
- stage: 'build tests'
python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
+ env: [ TEST_SUITE=build, 'SPEC=mpich' ]
# astyle (MakefilePackage)
- python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=astyle' ]
+ env: [ TEST_SUITE=build, 'SPEC=astyle' ]
# tut (WafPackage)
- python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=tut' ]
+ env: [ TEST_SUITE=build, 'SPEC=tut' ]
# py-setuptools (PythonPackage)
- python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=py-setuptools' ]
+ env: [ TEST_SUITE=build, 'SPEC=py-setuptools' ]
# perl-dbi (PerlPackage)
# - python: '2.7'
# os: linux
# language: python
-# env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=perl-dbi' ]
+# env: [ TEST_SUITE=build, 'SPEC=perl-dbi' ]
# openjpeg (CMakePackage + external cmake)
- python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=openjpeg' ]
+ env: [ TEST_SUITE=build, 'SPEC=openjpeg' ]
# r-rcpp (RPackage + external R)
- python: '2.7'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=r-rcpp' ]
+ env: [ TEST_SUITE=build, 'SPEC=r-rcpp' ]
# mpich (AutotoolsPackage)
- python: '3.6'
os: linux
language: python
- env: [ TEST_SUITE=build, COVERAGE=true, 'SPEC=mpich' ]
+ env: [ TEST_SUITE=build, 'SPEC=mpich' ]
allow_failures:
- dist: xenial
@@ -179,7 +179,7 @@ before_script:
#=============================================================================
script:
- share/spack/qa/run-$TEST_SUITE-tests
- - if [[ "$COVERAGE" == "true" ]]; then codecov --env PYTHON_VERSION --required --flags "${TEST_SUITE}${TRAVIS_OS_NAME}"; fi
+ - if [[ "$TEST_SUITE" == "unit" || "$TEST_SUITE" == "build" ]]; then codecov --env PYTHON_VERSION --required --flags "${TEST_SUITE}${TRAVIS_OS_NAME}"; fi
#=============================================================================
# Notifications