language: cpp
compiler:
  - gcc
  - clang
cache: apt
before_install:
 - sudo add-apt-repository ppa:kalakris/cmake
 - sudo apt-get update -qq
 - sudo apt-get install -qq libcppunit-dev cmake
before_script: mkdir build && cd build
script: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEOMETRY_BUILD_TESTS=ON .. && make && tests/GeometryTest


language: cpp
compiler:
  - gcc
  - clang
cache: apt
before_install:
 - sudo add-apt-repository --yes ppa:kalakris/cmake
 - sudo apt-get update -qq
 - sudo apt-get install -qq libcppunit-dev cmake
before_script: mkdir build && cd build
script: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEOMETRY_BUILD_TESTS=ON .. && make && tests/GeometryTest


Add "--yes" for apt-add-repository (Travis CI)
Add "--yes" for apt-add-repository (Travis CI)
