]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add initial travis config 55/head
authorAndré Klitzing <aklitzing@gmail.com>
Fri, 27 Nov 2015 07:56:02 +0000 (08:56 +0100)
committerAndré Klitzing <aklitzing@gmail.com>
Fri, 27 Nov 2015 08:49:20 +0000 (09:49 +0100)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..86c4009
--- /dev/null
@@ -0,0 +1,34 @@
+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
+
+#notifications:
+#    email: ccache@lists.samba.org