language: cpp

compiler:
  - gcc
  - clang

sudo: required

before_install:
  - sudo apt-get remove cmake
  - wget http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz
  - tar -xzf cmake-3.2.1.tar.gz
  - cd cmake-3.2.1
  - ./bootstrap > /dev/null
  - make > /dev/null
  - sudo make install
  - cd ..
  - rm -rf cmake-3.2.1 cmake-3.2.1.tar.gz

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

script:
  - make

language: cpp

compiler:
  - gcc
  - clang

sudo: required

before_install:
  - sudo apt-get remove cmake
  - wget http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz
  - tar -xzf cmake-3.2.1.tar.gz
  - cd cmake-3.2.1
  - ./bootstrap > /dev/null
  - make -j8 > /dev/null
  - sudo make install
  - cd ..
  - rm -rf cmake-3.2.1 cmake-3.2.1.tar.gz

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

script:
  - make

Speed up building cmake if possible
Speed up building cmake if possible
