about summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-03-29 20:31:25 +0200
committerDuncaen <mail@duncano.de>2017-03-30 20:29:01 +0200
commitd2677046dcf116d0b29b4ee0447288771b9cdc7d (patch)
tree41b005a1904c6d9f397d34783db672036e097893 /.travis.yml
parent914c0d744bc702532e9acfc87b73a40c001a6ca2 (diff)
downloadmblaze-d2677046dcf116d0b29b4ee0447288771b9cdc7d.tar.gz
mblaze-d2677046dcf116d0b29b4ee0447288771b9cdc7d.tar.xz
mblaze-d2677046dcf116d0b29b4ee0447288771b9cdc7d.zip
add .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e11d1d1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+language: c
+
+os:
+    - linux
+    - osx
+
+compiler:
+    - clang
+    - gcc
+
+script:
+    - case "$(uname)" in
+      Linux) make CFLAGS="-g -O2 -Wall -Wno-switch -Wextra -D_FORTIFY_SOURCE=2" && make check || exit 1 ;;
+      Darwin) make LDLIBS=-liconv && make check || exit 1 ;;
+      esac
+
+notifications:
+    email: false