aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..38480eb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,28 @@
+dist: trusty
+sudo: required
+language: c
+
+addons:
+ apt:
+ packages:
+ - libcmocka-dev
+ - valgrind
+
+compiler:
+ - clang
+ - gcc
+
+env:
+ - TARGET=valgrind
+ - TARGET=distcheck
+
+install: gem install ronn
+
+before_script: ./autogen.sh
+
+script: |
+ mkdir build &&
+ pushd build > /dev/null &&
+ ../configure CFLAGS="-Wall" --enable-tests --enable-ronn --enable-valgrind --disable-silent-rules &&
+ make $TARGET &&
+ popd > /dev/null