summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-03-22 15:59:58 +0100
committeralalazo <massimiliano.culpo@googlemail.com>2016-03-22 15:59:58 +0100
commit1664d1b5034a6ca7bf9901df91a22087d609f5bf (patch)
tree994cf7c736fb813d3edc1eb096fa9c851a831d5a /.travis.yml
parent6e847b7d76acf2fb6cda3ef251c311c011008d40 (diff)
downloadspack-1664d1b5034a6ca7bf9901df91a22087d609f5bf.tar.gz
spack-1664d1b5034a6ca7bf9901df91a22087d609f5bf.tar.bz2
spack-1664d1b5034a6ca7bf9901df91a22087d609f5bf.tar.xz
spack-1664d1b5034a6ca7bf9901df91a22087d609f5bf.zip
travis : removed external directory from the list under coverage
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 465a86faf7..30dfebf783 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,7 +24,7 @@ script:
- spack config get compilers
- spack install -v libdwarf
# Run unit tests with code coverage
- - coverage run --source=lib --omit=lib/spack/spack/test/*,lib/spack/env/*,lib/spack/docs/* bin/spack test
+ - coverage run --source=lib --omit=lib/spack/spack/test/*,lib/spack/env/*,lib/spack/docs/*,lib/spack/external/* bin/spack test
# Checks if the file that have been changed are flake8 conformant
- CHANGED_PYTHON_FILES=`git diff develop... --name-only | perl -ne 'print if /\.py/g'`
- if [[ ${CHANGED_PYTHON_FILES} ]] ; then flake8 --format pylint --config flake8.ini ${CHANGED_PYTHON_FILES} ; fi