From 1976a3280cc392df722ebc6cb6dd74f0746ec017 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 3 Dec 2017 12:38:08 +0200 Subject: [PATCH] Run tests only with gcc --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 159482f..c0f0ed1 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: