mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 17:26:47 +08:00
Run an exception disabled build inside travis
This commit is contained in:
parent
4d964b0fe2
commit
1042ddc1f1
21
.travis.yml
21
.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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user