Added build system & coverage reports

This commit is contained in:
Snaipe 2015-02-06 02:53:23 +01:00
parent 162aa6608b
commit e24fdeb870

15
.travis.yml Normal file
View file

@ -0,0 +1,15 @@
language: c
compiler:
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get -qq update
- sudo apt-get -qq install -y check gcc-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90
- sudo pip install cpp-coveralls
script:
- ./autogen.sh && ./configure --enable-gcov CFLAGS="-g -O0" && make && make check
after_success:
- coveralls --gcov gcov-4.9 --exclude samples --gcov-options '\-lp' -b .
after_failure:
- cat $(find check -iname '*.log') /dev/null