Run tests only with gcc

This commit is contained in:
Konstantinos Sideris 2017-12-03 12:38:08 +02:00
parent 0ca6f0ddd0
commit 1976a3280c
1 changed files with 3 additions and 1 deletions

View File

@ -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: