language: cpp
matrix:
  include:
    - compiler: gcc
      env: GCC=4.7
    - compiler: gcc
      env: GCC=4.8
    - compiler: gcc
      env: GCC=4.9
    - compiler: clang
      env: DEPGCC=4.7
before_install:
  - if [ -n "$GCC$DEPGCC" ]; then travis_retry sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
  - if [ -n "$GCC$DEPGCC" ]; then travis_retry sudo apt-get update -qq; fi
  - if [ -n "$GCC$DEPGCC" ]; then travis_retry sudo apt-get install -qq g++-$GCC$DEPGCC; fi
  - if [ -n "$GCC" ]; then export CXX=g++-$GCC; fi
script: make -C tests compile

language: cpp
matrix:
  include:
    - compiler: gcc
      env: GCC=4.7
    - compiler: gcc
      env: GCC=4.8
    - compiler: gcc
      env: GCC=4.9
    - compiler: gcc
      env: GCC=5
    - compiler: clang
      env: DEPGCC=4.7
before_install:
  - if [ -n "$GCC$DEPGCC" ]; then travis_retry sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
  - if [ -n "$GCC$DEPGCC" ]; then travis_retry sudo apt-get update -qq; fi
  - if [ -n "$GCC$DEPGCC" ]; then travis_retry sudo apt-get install -qq g++-$GCC$DEPGCC; fi
  - if [ -n "$GCC" ]; then export CXX=g++-$GCC; fi
script: make -C tests compile

Add g++-5 to Travis CI compilers.
Add g++-5 to Travis CI compilers.
