aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-19 15:31:25 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-19 15:31:25 -0300
commit98cbd56704061895103d6f08d47ae46fd18f0878 (patch)
treeca5d57122d1784c306d33fa0e785c9411d9ececc
parent8b1526d934f16e34ab02a1537eae18aff2936c5b (diff)
downloadblogc-98cbd56704061895103d6f08d47ae46fd18f0878.tar.gz
blogc-98cbd56704061895103d6f08d47ae46fd18f0878.tar.bz2
blogc-98cbd56704061895103d6f08d47ae46fd18f0878.zip
added travis support
-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