2014-05-17 03:26:19 -04:00
|
|
|
language: c
|
2014-05-20 10:05:07 -04:00
|
|
|
|
2014-05-17 03:26:19 -04:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2014-05-20 10:05:07 -04:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes
|
|
|
|
|
2014-05-17 03:26:19 -04:00
|
|
|
install:
|
2014-05-17 04:06:05 -04:00
|
|
|
- sudo apt-get update -qq
|
2014-05-18 23:44:29 -04:00
|
|
|
- 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
|
2014-05-18 23:45:39 -04:00
|
|
|
- sudo apt-get install -qq graphviz-dev graphviz
|
2014-05-20 10:05:07 -04:00
|
|
|
- if [ x$COVERALLS == xyes ]; then sudo pip install cpp-coveralls --use-mirror; fi
|
|
|
|
|
2014-05-17 03:26:19 -04:00
|
|
|
script:
|
2014-05-20 10:05:07 -04:00
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure $CONFIGURE_OPTION
|
|
|
|
- make
|
2014-05-17 03:26:19 -04:00
|
|
|
- make check
|
2014-05-20 10:05:07 -04:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- if [ x$COVERALLS == xyes ]; then coveralls ; fi
|
|
|
|
|
2014-05-17 03:26:19 -04:00
|
|
|
cache:
|
|
|
|
apt: true
|