aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: fd43039ceeb1607815ea753dcc4feb74f9953111 (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: /usr/local/bin/make check $(test "$CC" = gcc && echo 'CFLAGS=-Wall\ -g\ -fprofile-arcs\ -ftest-coverage')
after_success:
  - test "$CC" = gcc && coveralls