summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml45
1 files changed, 39 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 20a2197..db24163 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,15 +10,15 @@ env:
matrix:
include:
- - env: BUILD_TYPE=Debug ASAN=Off RUN_TEST=On
+ - env: BUILD_TYPE=Debug ASAN=Off RUN_TEST=On EXCEPTIONS=On
os: osx
osx_image: xcode8
- - env: BUILD_TYPE=Debug ASAN=Off LLVM_VERSION=3.8.0 RUN_TEST=On
+ - env: BUILD_TYPE=Debug ASAN=Off LLVM_VERSION=3.8.0 RUN_TEST=On EXCEPTIONS=On
os: linux
compiler: clang
- - env: BUILD_TYPE=Release ASAN=Off GCC_VERSION=4.9 RUN_TEST=On
+ - env: BUILD_TYPE=Release ASAN=Off GCC_VERSION=4.9 RUN_TEST=On EXCEPTIONS=On
os: linux
compiler: gcc
addons:
@@ -28,7 +28,37 @@ matrix:
sources:
- ubuntu-toolchain-r-test
- - env: BUILD_TYPE=Debug ASAN=Off LLVM_VERSION=3.8.0 RUN_TEST=Off PROJECT=doc PUBLISH_DOCS=On DOXYGEN_VERSION=1.8.11
+ - env: BUILD_TYPE=Release ASAN=Off GCC_VERSION=7 RUN_TEST=On EXCEPTIONS=On
+ os: linux
+ compiler: gcc
+ addons: &gcc7
+ apt:
+ packages:
+ - g++-7
+ sources:
+ - ubuntu-toolchain-r-test
+
+ - env: BUILD_TYPE=Debug ASAN=Off GCC_VERSION=8 RUN_TEST=On EXCEPTIONS=Off
+ os: linux
+ compiler: gcc
+ addons: &gcc8
+ apt:
+ packages:
+ - g++-8
+ sources:
+ - ubuntu-toolchain-r-test
+
+ - env: BUILD_TYPE=Release ASAN=Off GCC_VERSION=8 RUN_TEST=On EXCEPTIONS=On
+ os: linux
+ compiler: gcc
+ addons: &gcc8
+ apt:
+ packages:
+ - g++-8
+ sources:
+ - ubuntu-toolchain-r-test
+
+ - env: BUILD_TYPE=Debug ASAN=Off LLVM_VERSION=3.8.0 RUN_TEST=Off EXCEPTIONS=On PROJECT=doc PUBLISH_DOCS=On DOXYGEN_VERSION=1.8.11
os: linux
compiler: clang
addons:
@@ -96,7 +126,7 @@ install:
if [ -n "$DOXYGEN_VERSION" ]; then
DOXYGEN_DIR=${DEPS_DIR}/doxygen-${DOXYGEN_VERSION}
if [[ -z "$(ls -A ${DOXYGEN_DIR})" ]]; then
- DOXYGEN_URL="http://ftp.stack.nl/pub/users/dimitri/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
+ DOXYGEN_URL="https://downloads.sourceforge.net/doxygen/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
mkdir -p ${DOXYGEN_DIR} && travis_retry wget --quiet -O - ${DOXYGEN_URL} | tar --strip-components=1 -xz -C ${DOXYGEN_DIR}
fi
export PATH=${DOXYGEN_DIR}/bin:${PATH}
@@ -127,6 +157,9 @@ before_script:
if [ -z "$BUILD_TYPE" ]; then
BUILD_TYPE=Release;
fi;
+ if [ -z "$EXCEPTIONS" ]; then
+ EXCEPTIONS=On;
+ fi;
if [[ "${ASAN}" == "On" ]]; then
export CXXFLAGS="${CXXFLAGS} -fsanitize=address,undefined,integer -fno-omit-frame-pointer -fno-sanitize=unsigned-integer-overflow";
fi;
@@ -138,7 +171,7 @@ before_script:
# generate build
############################################################################
- cd ${TRAVIS_BUILD_DIR}
- - cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE
+ - cmake . -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DRX_USE_EXCEPTIONS=${EXCEPTIONS}
script:
############################################################################