diff options
author | Peter Newman <peternewman@users.noreply.github.com> | 2019-03-26 01:18:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 01:18:38 +0000 |
commit | d682a8df9a151538d70c8a7a23a68636284b1b94 (patch) | |
tree | defba2cdd559d4d83a1392244876139cf25474c3 | |
parent | 558a4b135cfbc9e72648cfbbc402dde22a36d632 (diff) | |
download | midimonster-d682a8df9a151538d70c8a7a23a68636284b1b94.tar.gz midimonster-d682a8df9a151538d70c8a7a23a68636284b1b94.tar.bz2 midimonster-d682a8df9a151538d70c8a7a23a68636284b1b94.zip |
Only run $CXX version when necessary
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index df4a97a..ab047ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -167,7 +167,7 @@ before_install: #Report the compiler versions - $CC --version #OS X uses something other than $CXX variable - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $CXX --version; fi + - if [ "$TRAVIS_OS_NAME" == "linux" -a \( "$TASK" = "compile" -o "$TASK" = "sanitize" \) ]; then $CXX --version; fi - if [ "$TASK" == "spellintian" -o "$TASK" == "spellintian-duplicates" ]; then wget "http://archive.ubuntu.com/ubuntu/pool/main/l/lintian/lintian_2.5.104_all.deb"; sudo dpkg -i lintian_*.deb; sudo apt-get install -f -y; fi # Install a later lintian after_script: |