summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1e23d65ffe63a0a556c9b9da790efb7bb91e543b (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
33
34
35
36
37
38
39
40
41
42
43
44
45
dist: bionic
language: cpp
matrix:
        include:
                - compiler: gcc
                  env: COMPILER=g++
                - compiler: gcc
                  addons:
                      apt:
                        sources:
                                - ubuntu-toolchain-r-test
                        packages:
                                - libboost-test-dev
                                - libgdk-pixbuf2.0-dev
                                - g++-5
                  env: COMPILER=g++-5
                - compiler: gcc
                  addons:
                      apt:
                        sources:
                                - ubuntu-toolchain-r-test
                        packages:
                                - libboost-test-dev
                                - libgdk-pixbuf2.0-dev
                                - g++-6
                  env: COMPILER=g++-6
                - compiler: clang
                  env: COMPILER=clang++
addons:
        apt:
                packages:
                        - libboost-test-dev
                        - libgdk-pixbuf2.0-dev
before_install:
	if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
		sudo apt-get -y install autoconf-archive
	fi
	if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
		brew install autoconf-archive
	fi

script:
        - ./autogen.sh
        - make
        - make check