travis : removed external directory from the list under coverage
This commit is contained in:
parent
6e847b7d76
commit
1664d1b503
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue