language: cpp

compiler:
  - clang
  - gcc

before_install:
  # TODO: remove the following when Travis has CMake newer than 2.8.11.
  - sudo -E script/update_cmake.bash
  # TODO: remove the following when Travis has C++11-feature-complete G++ and clang.
  - sudo -E script/update_compilers.bash
  - if [ "$CXX" = "g++" ]; then export CXX="g++-5"; fi

script:
  - cd build && cmake .. && make

os:
  - linux
  - osx

notifications:
  email: false

language: cpp

compiler:
  - clang
  - gcc

before_install:
  # TODO: remove the following when Travis has CMake newer than 2.8.11.
  - sudo -E script/update_cmake.bash
  # TODO: remove the following when Travis has C++11-feature-complete G++ and clang.
  - sudo -E script/update_compilers.bash
  - if [ "$CXX" = "g++" ]; then export CXX="g++-5"; fi

script:
  - cd build && cmake .. && make && spec/ccspec_spec

os:
  - linux
  - osx

notifications:
  email: false

Automate continuous test integration on Travis CI
Automate continuous test integration on Travis CI
