language: cpp

compiler:
  - gcc
  - clang

before_script:
  - mkdir build
  - cd build
  - cmake ..

script:
  - make

language: cpp

compiler:
  - gcc
  - clang

before_install:
  - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install cmake; fi

before_script:
  - mkdir build
  - cd build
  - cmake ..

script:
  - make

Update to the latest cmake on osx
Update to the latest cmake on osx
