From b7850ca10b677c4280ae8e73b8260c767875fcd4 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 17 Aug 2015 21:33:13 +0200 Subject: Added sanitizer (gcc-5) to the travis build script - Made possible thanks to Andrei Karas Signed-off-by: Haru --- .travis.yml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index b2248d6f2..53fd2e008 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: c sudo: false -compiler: - - clang - - gcc +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-5 install: - ./travis.sh getplugins || true @@ -17,9 +20,28 @@ script: - ./travis.sh build $CONFIGURE_FLAGS - ./travis.sh test ragnarok travis travis -env: - - CONFIGURE_FLAGS="--enable-debug" - - CONFIGURE_FLAGS="--disable-renewal --enable-debug" +# We can't use this, unfortunately +# http://github.com/travis-ci/travis-ci/issues/979 +#compiler: +# - clang +# - gcc + +matrix: + exclude: + - env: ignore=this + include: + - compiler: clang + env: CONFIGURE_FLAGS="--enable-debug" + - compiler: clang + env: CONFIGURE_FLAGS="--enable-debug --disable-renewal" + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug" + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug --disable-renewal" + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager" + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager --disable-renewal" notifications: email: false -- cgit v1.2.3-60-g2f50