Added build system & coverage reports
This commit is contained in:
parent
162aa6608b
commit
e24fdeb870
1 changed files with 15 additions and 0 deletions
15
.travis.yml
Normal file
15
.travis.yml
Normal 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
|
Loading…
Add table
Reference in a new issue