diff options
author | Haru <haru@dotalux.com> | 2015-08-17 21:33:13 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-08-17 21:47:30 +0200 |
commit | b7850ca10b677c4280ae8e73b8260c767875fcd4 (patch) | |
tree | 7c402a0b27e215146abfab8c4fb21582bfc4b4a9 /.travis.yml | |
parent | 30879c4acc7e08cb8d1633d968c869c2bf87e043 (diff) | |
download | hercules-b7850ca10b677c4280ae8e73b8260c767875fcd4.tar.gz hercules-b7850ca10b677c4280ae8e73b8260c767875fcd4.tar.bz2 hercules-b7850ca10b677c4280ae8e73b8260c767875fcd4.tar.xz hercules-b7850ca10b677c4280ae8e73b8260c767875fcd4.zip |
Added sanitizer (gcc-5) to the travis build script
- Made possible thanks to Andrei Karas
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 34 |
1 files changed, 28 insertions, 6 deletions
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 |