language: cpp

compiler:
  - gcc

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

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

script: make

language: cpp

compiler:
  - gcc

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

before_script:
  - mkdir build
  - cd build
  - CXX="g++-4.8" cmake ..

script: make

Use g++4.8 in cmake build for Travis
Use g++4.8 in cmake build for Travis
