diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2016-10-15 23:21:50 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-15 14:21:50 -0700 |
commit | 9726574846500becfa64528a88b3ec37e658c0cb (patch) | |
tree | aeb9c78178eb390187d55f24c9c5d08cb1d28498 /.travis.yml | |
parent | 3dbde09747e98d5ee6ac2971c87c5c481a21e532 (diff) | |
download | spack-9726574846500becfa64528a88b3ec37e658c0cb.tar.gz spack-9726574846500becfa64528a88b3ec37e658c0cb.tar.bz2 spack-9726574846500becfa64528a88b3ec37e658c0cb.tar.xz spack-9726574846500becfa64528a88b3ec37e658c0cb.zip |
travis : unit tests will run with and without libyaml (#2024)
* travis : unit tests will run with and without libyaml
* travis : fixed package that are installed
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 7961133c1a..a1f21f5538 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ python: - 2.7 env: - - TEST_SUITE=unit + - TEST_SUITE=unit CYAML=true + - TEST_SUITE=unit CYAML=false - TEST_SUITE=flake8 - TEST_SUITE=doc @@ -24,6 +25,7 @@ addons: apt: packages: - graphviz + - libyaml-dev # Install various dependencies install: @@ -31,6 +33,7 @@ install: - pip install flake8 - pip install sphinx - pip install mercurial + - if [[ $CYAML == true ]]; then pip install --global-option "--with-libyaml" pyyaml; fi before_script: # Need this for the git tests to succeed. @@ -43,7 +46,7 @@ before_script: script: share/spack/qa/run-$TEST_SUITE-tests after_success: - - if [[ $TEST_SUITE == unit && $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi + - if [[ $TEST_SUITE == unit && $CYAML == false && $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi notifications: email: |