diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-05-11 16:11:19 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-05-11 16:11:19 +0200 |
commit | 78ae5d7723df810e65fe69b4fb0d7773e748e085 (patch) | |
tree | 4ab1421b4e3edb44e28441f9a3394a3fe6be7fc5 /.travis.yml | |
parent | 22bb0562fea525afb329d5710970785189d3af63 (diff) | |
parent | 3d3a520a7d79f40f167f2856c5787ef94739eedc (diff) | |
download | spack-78ae5d7723df810e65fe69b4fb0d7773e748e085.tar.gz spack-78ae5d7723df810e65fe69b4fb0d7773e748e085.tar.bz2 spack-78ae5d7723df810e65fe69b4fb0d7773e748e085.tar.xz spack-78ae5d7723df810e65fe69b4fb0d7773e748e085.zip |
Merge branch 'develop' of https://github.com/LLNL/spack into features/custom_modulefile_from_config
Conflicts:
lib/spack/spack/config.py
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 4ff4d5f483..904143a00f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,20 +15,22 @@ 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 install -v libdwarf + # Run unit tests with code coverage - coverage run 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$/'` - - if [[ ${CHANGED_PYTHON_FILES} ]] ; then flake8 --format pylint --config flake8.ini ${CHANGED_PYTHON_FILES} ; fi + # Run flake8 code style checks. + - share/spack/qa/run-flake8 after_success: - coveralls |