language: cpp

compiler: clang

branches:
  only:
  - master

before_script:
  - export INITIAL_DIR=$PWD
  - wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake.tar.gz
  - tar -xvf /tmp/cmake.tar.gz
  - export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH
  - git clone https://github.com/google/googletest
  - cd googletest
  - mkdir myBuild
  - cd myBuild
  - cmake -DCMAKE_INSTALL_PREFIX=$PWD/myInstall ..
  - export PATH=$PWD/myInstall:$PATH
  - make
  - cd $INITIAL_DIR
  - mkdir build
  - cd build
  - cmake ..

script: make

language: cpp

compiler: clang

branches:
  only:
  - master

before_script:
  - export INITIAL_DIR=$PWD
  - wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake.tar.gz
  - tar -xvf /tmp/cmake.tar.gz
  - export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH
  - git clone https://github.com/google/googletest
  - cd googletest
  - mkdir myBuild
  - cd myBuild
  - cmake -DCMAKE_INSTALL_PREFIX=$PWD/myInstall ..
  - export PATH=$PWD/myInstall:$PATH
  - make
  - make install
  - cd $INITIAL_DIR
  - mkdir build
  - cd build
  - cmake ..

script: make

Add make install for google test
Add make install for google test
