]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add .travis.yml
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 11 Jul 2016 19:54:41 +0000 (21:54 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 11 Jul 2016 19:54:41 +0000 (21:54 +0200)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..1c5d0d9
--- /dev/null
@@ -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}