Add coveralls.io support
This commit is contained in:
parent
9499432084
commit
16427fe42a
1 changed files with 16 additions and 9 deletions
25
.travis.yml
25
.travis.yml
|
@ -1,21 +1,28 @@
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
# - clang
|
|
||||||
- gcc
|
- gcc
|
||||||
# for debian
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- compiler: gcc
|
||||||
|
env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq automake pkg-config build-essential libtool automake autoconf m4 gnulib
|
- sudo apt-get install -qq automake pkg-config build-essential libtool automake autoconf m4 gnulib
|
||||||
- sudo apt-get install -qq check libpcre3 libpcre3-dev libjemalloc-dev libjemalloc1
|
- sudo apt-get install -qq check libpcre3 libpcre3-dev libjemalloc-dev libjemalloc1
|
||||||
- sudo apt-get install -qq graphviz-dev graphviz
|
- sudo apt-get install -qq graphviz-dev graphviz
|
||||||
before_script:
|
- if [ x$COVERALLS == xyes ]; then sudo pip install cpp-coveralls --use-mirror; fi
|
||||||
# - aclocal
|
|
||||||
# - autoconf
|
|
||||||
# - automake --add-missing --foreign
|
|
||||||
# - autoreconf -i -I/usr/share/gnulib/m4 && ./configure && make
|
|
||||||
- ./autogen.sh
|
|
||||||
- ./configure && make
|
|
||||||
script:
|
script:
|
||||||
|
- ./autogen.sh
|
||||||
|
- ./configure $CONFIGURE_OPTION
|
||||||
|
- make
|
||||||
- make check
|
- make check
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- if [ x$COVERALLS == xyes ]; then coveralls ; fi
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
|
|
Loading…
Reference in a new issue