mirror of
https://github.com/Naios/continuable.git
synced 2026-02-16 23:29:48 +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
|
- ninja-build
|
||||||
env:
|
env:
|
||||||
- COMPILER=g++-6
|
- COMPILER=g++-6
|
||||||
|
- NO_EXCEPTIONS=OFF
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
@ -38,6 +39,24 @@ matrix:
|
|||||||
- ninja-build
|
- ninja-build
|
||||||
env:
|
env:
|
||||||
- COMPILER=clang++-5.0
|
- 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:
|
install:
|
||||||
- export CXX=$COMPILER
|
- export CXX=$COMPILER
|
||||||
@ -55,7 +74,7 @@ install:
|
|||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Configure the project and build it
|
# 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:
|
script:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user