aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-07 20:36:08 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-07 20:36:08 +0100
commitbcafe3ef16bc3114b842be66cca687850d5183b6 (patch)
treeb21842cc846aaae3618ecb1b8b5e0106ad8d5d97 /.travis.yml
parent4c3533500058efaa2cabbe08f70e0b0a64ea3e37 (diff)
downloadblogc-bcafe3ef16bc3114b842be66cca687850d5183b6.tar.gz
blogc-bcafe3ef16bc3114b842be66cca687850d5183b6.tar.bz2
blogc-bcafe3ef16bc3114b842be66cca687850d5183b6.zip
added travis support
Diffstat (limited to '.travis.yml')
-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