From: Joel Rosdahl Date: Mon, 7 Dec 2015 20:19:01 +0000 (+0100) Subject: Add travis configuration X-Git-Tag: v3.2.5~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9601eb581b0e4ec014d122dd13acdad352aa270b;p=thirdparty%2Fccache.git Add travis configuration --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..8c0412ab7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: c + +addons: + apt: + packages: + - zlib1g-dev + +os: + - linux + - osx + +compiler: + - clang + - gcc + +matrix: + include: + - os: linux + compiler: clang + env: CFLAGS="-fsanitize=address -g" ASAN_OPTIONS="detect_leaks=0" + exclude: + - os: osx + compiler: gcc + +script: + - ./autogen.sh + - ./configure + - make + - if [ "$CC" = "gcc" ]; then + ./test.sh; + fi