From: Joel Rosdahl Date: Mon, 11 Jul 2016 19:54:41 +0000 (+0200) Subject: Add .travis.yml X-Git-Tag: v3.1.12~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51158c7cef0fb9ac55e49cf084c6a07c00bc106d;p=thirdparty%2Fccache.git Add .travis.yml --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..1c5d0d996 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,36 @@ +language: c + +addons: + apt: + packages: + - elfutils + - zlib1g-dev + - mingw32 + - mingw32-binutils + +os: + - linux + - osx + +compiler: + - clang + - gcc + +matrix: + include: + - os: linux + compiler: i586-mingw32msvc-gcc + env: HOST="--host=i586-mingw32msvc" TEST="test/main.exe" + - os: linux + compiler: clang + env: CFLAGS="-fsanitize=address -g" ASAN_OPTIONS="detect_leaks=0" + + exclude: + - os: osx + compiler: gcc + +script: + - ./autogen.sh + - ./configure $HOST + - make + - make ${TEST:-test}