diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2016-05-24 18:56:44 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2016-05-24 18:56:44 -0700 |
commit | dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2 (patch) | |
tree | a7725e2cbf72b207419042d426a3fde224e11f14 /.travis.yml | |
parent | 9eb314fcaaa9a19d59dee3269bd9ddaf738117a3 (diff) | |
parent | 1bca69f27281d3bb707bcba41b4f332ab3988509 (diff) | |
download | spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.gz spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.bz2 spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.xz spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.zip |
merge from develop
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 1bed6b0874..904143a00f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,21 +6,35 @@ python: # Use new Travis infrastructure (Docker can't sudo yet) sudo: false -# No need to install any deps. -install: true +# Install coveralls to obtain code coverage +install: + - "pip install coveralls" + - "pip install flake8" before_install: # Need this for the git tests to succeed. - git config --global user.email "spack@example.com" - git config --global user.name "Test User" + # Need this to be able to compute the list of changed files + - git fetch origin develop:develop + script: + # Regular spack setup and tests - . share/spack/setup-env.sh - spack compilers - spack config get compilers - - spack test - spack install -v libdwarf + # Run unit tests with code coverage + - coverage run bin/spack test + + # Run flake8 code style checks. + - share/spack/qa/run-flake8 + +after_success: + - coveralls + notifications: email: recipients: |