summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-02-05 08:56:20 +0100
committeralalazo <massimiliano.culpo@googlemail.com>2016-02-05 08:56:20 +0100
commit4b22c2406c163c83998de8938b5fefa18886057e (patch)
treed8d3ed7504d5890b86c4b023f8fecf217857475a /.travis.yml
parent00185a39d9fe0155016e36c47b951f908bb7919f (diff)
downloadspack-4b22c2406c163c83998de8938b5fefa18886057e.tar.gz
spack-4b22c2406c163c83998de8938b5fefa18886057e.tar.bz2
spack-4b22c2406c163c83998de8938b5fefa18886057e.tar.xz
spack-4b22c2406c163c83998de8938b5fefa18886057e.zip
removed redundant references to pep8
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index f935062b02..082b747bc2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,6 @@ sudo: false
# Install coveralls to obtain code coverage
install:
- "pip install coveralls"
- - "pip install pep8"
- "pip install flake8"
before_install:
@@ -23,9 +22,8 @@ script:
- . share/spack/setup-env.sh
# Run unit tests with code coverage
- coverage run --source=lib --omit=lib/spack/spack/test/*,lib/spack/env/*,lib/spack/docs/* bin/spack test
- # Checks if the file that have been changed are pep8 conformant
+ # 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 pep8 --max-line-length=120 ${CHANGED_PYTHON_FILES} ; fi
- if [[ ${CHANGED_PYTHON_FILES} ]] ; then flake8 --format pylint --config flake8.ini ${CHANGED_PYTHON_FILES} ; fi