language: cpp
compiler: clang
before_install:
  - sudo add-apt-repository --yes ppa:kalakris/cmake
  - sudo apt-get update -qq
  - sudo apt-get install -y cmake
script: 
  - mkdir Build && cd Build
  - cmake .. && make && make test

language: cpp
compiler: gcc
before_install:
  - sudo add-apt-repository --yes ppa:kalakris/cmake ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
  - sudo apt-get install -y cmake gcc-4.8
script: 
  - export CXX="g++-4.8"
  - mkdir Build && cd Build
  - cmake .. && make && make test

Update to gcc-4.8 custom install
Update to gcc-4.8 custom install
