summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: cea4e765d238fd0364bd96b3f41260fda1f96478 (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
dist: trusty
language: cpp

addons:
    apt:
        packages:
            - libcppunit-dev
            - libboost-dev

os:
    - linux

compiler:
    - gcc

before_install:
  # C++14
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  # C++14
  - sudo apt-get install -qq g++-5
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90

script:
    - ./autogen.sh
    - ./configure --enable-test
    - make
    - make check