Add Release and RelWithDebInfo builds on Travis

This commit is contained in:
Sebastian Messmer 2018-09-27 16:31:12 -07:00
parent 506b9c8224
commit 38370a1016
2 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,13 @@
language: cpp
sudo: required
os: osx
compiler:
# - gcc
- clang
os: osx
env:
- BUILD_TARGET=Debug
- BUILD_TARGET=Release
- BUILD_TARGET=RelWithDebInfo
install:
- .travisci/install.sh
script:

View File

@ -31,7 +31,8 @@ cd cmake
cmake --version
# Build
cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=Debug
echo Build target: ${BUILD_TARGET}
cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${BUILD_TARGET}
make -j$NUMCORES
ccache --show-stats