From 1042ddc1f1102af8636e6f28f02226aa822b14ca Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Tue, 3 Oct 2017 21:55:27 +0200 Subject: [PATCH] Run an exception disabled build inside travis --- .travis.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 351c449..d9b3e9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ matrix: - ninja-build env: - COMPILER=g++-6 + - NO_EXCEPTIONS=OFF - os: linux compiler: clang @@ -38,6 +39,24 @@ matrix: - ninja-build env: - COMPILER=clang++-5.0 + - NO_EXCEPTIONS=OFF + + - os: linux + compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-trusty-5.0 + packages: + - g++-6 + - clang-5.0 + - cmake + - cmake-data + - ninja-build + env: + - COMPILER=clang++-5.0 + - NO_EXCEPTIONS=ON install: - export CXX=$COMPILER @@ -55,7 +74,7 @@ install: cd build # Configure the project and build it - cmake -GNinja -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Werror" -DCMAKE_BUILD_TYPE=Debug .. + cmake -GNinja -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Werror" -DTESTS_NO_EXCEPTIONS=$NO_EXCEPTIONS -DCMAKE_BUILD_TYPE=Debug .. } script: