summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-03 12:38:08 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-03 12:38:08 +0200
commit1976a3280cc392df722ebc6cb6dd74f0746ec017 (patch)
treeb89bd2c1fea1ca23e5d05f16342c33ab2f60f70e
parentBump gcc and clang version (diff)
downloadnheko-1976a3280cc392df722ebc6cb6dd74f0746ec017.tar.xz
Run tests only with gcc
-rw-r--r--.travis.yml4
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: