aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..da2889b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,19 @@
+language: c
+
+compiler:
+ - clang
+ - gcc
+
+before_install:
+ - sudo apt-get update -qq
+
+install:
+ - sudo apt-get install -qq libcmocka-dev valgrind
+
+before_script:
+ - mkdir build
+ - ./autogen.sh
+ - pushd build > /dev/null && ../configure CFLAGS="-Wall" --enable-cmocka --enable-valgrind && popd > /dev/null
+
+script:
+ - make valgrind