language: cpp
compiler: g++

sudo: required
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq

install:
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"

script: ./tester/run_all_tests.sh

language: cpp
compiler: g++

sudo: required
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq

install:
- sudo apt-get install -qq g++
- export CXX="g++"

script: ./tester/run_all_tests.sh

Use latest g++ on Travis
Use latest g++ on Travis