blob: a3023189b1d79b016536e6368699dd1ccd562777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
language: c
compiler:
- gcc
- clang
env:
- MAKE_VER=4.0
- MAKE_VER=4.1
before_install:
- sudo apt-get update -q
- wget http://ftp.gnu.org/gnu/make/make-${MAKE_VER}.tar.bz2 -O - | bunzip2 | tar -xvC /tmp
install:
- sudo apt-get install -yq libpcre3-dev
- pushd /tmp/make-${MAKE_VER} && ./configure && make -j2 && sudo make install ; popd
- sudo pip install cpp-coveralls
script: if test "$CC" = gcc; then /usr/local/bin/make check 'CFLAGS=-Wall -g -fprofile-arcs -ftest-coverage'; else /usr/local/bin/make check; fi
after_success:
- test "$CC" = gcc && coveralls
|