about summary refs log tree commit diff
diff options
context:
space:
mode:
-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