summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: bb930c770eebb0b7a6d8641f28c7f120e5c4f2fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: cpp

sudo: required
dist: trusty

compiler:
  - gcc
  - clang

before_install:
  - echo $LANG
  - echo $LC_ALL
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y libcppunit-dev; fi
  - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install cppunit; fi

before_script:
  - if [ $TRAVIS_OS_NAME == linux ]; then libtoolize; fi
  - if [ $TRAVIS_OS_NAME == osx ]; then glibtoolize; fi
  - aclocal
  - autoheader
  - autoconf
  - automake --add-missing
  - ./configure

script:
  - make
  - make distcheck

os:
  - linux
  - osx