language: c++
sudo: false
dist: trusty

compiler:
  - gcc

addons:
  apt:
    packages:
      - libsparsehash-dev
      - cmake

before_script:
  - mkdir build
  - cd build
  - cmake ..

script: 
  - make -j 3 
  - make test

notifications:
  email:
    on_success: never
    on_failure: always

language: c++
sudo: false
dist: trusty


addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-5
      - g++-5
      - libsparsehash-dev
      - cmake

compiler:
  - gcc-5

before_script:
  - $CXX --version
  - mkdir build
  - cd build
  - cmake ..

script: 
  - make -j 3 
  - make test

notifications:
  email:
    on_success: never
    on_failure: always

Install and use GCC 5
Travis: Install and use GCC 5

Travis' newest supported distribution is Ubuntu 14.04 LTS (not joking) but we
can use a more current compiler. To match internal infrastructure we choose GCC
5.x which is the default in Ubuntu 16.04 LTS
