language: c++
sudo: false

script:
  - cmake -DCMAKE_BUILD_TYPE=Release
  - make -j
  - bin/unitTests
  
before_script:
  - if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi
  
matrix:
  include:
    - os: linux
      compiler: gcc
      addons: &gcc49
        apt:
          sources: ['ubuntu-toolchain-r-test']
          packages: ['g++-4.9']
      env: COMPILER='g++-4.9'
    - os: linux
      compiler: clang
      addons: &clang35
        apt:
          sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test']
          packages: ['clang-3.5']
      env: COMPILER='clang++-3.5'
    - os: osx
      compiler: clang
addons:
  apt:
    sources:
      - george-edison55-precise-backports
    packages:
      - cmake-data
      - cmake
language: c++
sudo: false

script:
  - cmake -DCMAKE_BUILD_TYPE=Release
  - make -j
  - bin/unitTests
  
before_script:
  - if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi
  
matrix:
  include:
    - os: linux
      compiler: gcc
      addons: &gcc49
        apt:
          sources: ['ubuntu-toolchain-r-test']
          packages: ['g++-4.9']
      env: COMPILER='g++-4.9'
    - os: linux
      compiler: clang
    - os: osx
      compiler: clang
addons:
  apt:
    sources:
      - george-edison55-precise-backports
    packages:
      - cmake-data
      - cmake
Speed up clang build on linux.
Speed up clang build on linux.
