language: cpp

compiler:
  - gcc

addons:
  apt:
    sources:
      - boost-latest
      - ubuntu-toolchain-r-test
    packages:
      - libboost1.55-all-dev
      - gcc-4.8
      - g++-4.8

install:
    - export CXX="g++-4.8" CC="gcc-4.8"
    - cd ..

    - git clone https://github.com/OPM/opm-common.git

    - opm-common/travis/build-opm-common.sh

script: opm-flowdiagnostics/travis/build-and-test-opm-flowdiagnostics.sh
