diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 159482f2..c0f0ed16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,12 +14,14 @@ matrix: compiler: gcc env: - COMPILER=g++-6 + - RUN_TESTS=1 addons: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-6'] - os: linux compiler: clang + env: - COMPILER=clang++-5.0 addons: apt: @@ -43,7 +45,7 @@ script: - make -C build -j2 - if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi - if [ $TRAVIS_OS_NAME == osx ]; then ./.ci/macos/deploy.sh; fi - - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/run-tests.sh; fi + - if [ $RUN_TESTS == 1 ]; then ./.ci/linux/run-tests.sh; fi - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/deploy.sh; fi deploy: |