travis upd

This commit is contained in:
wgroeneveld 2018-08-14 09:24:35 +02:00
parent 21e080dea4
commit ae52a7678d
1 changed files with 8 additions and 2 deletions

View File

@ -1,15 +1,21 @@
language: cpp
compiler: g++
notifications:
email: false
before_install:
# Install a supported cmake version
- mkdir -p ~/cmake
- wget -O cmake.sh https://cmake.org/files/v3.12/cmake-3.12.1-Linux-x86_64.sh
- sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
- sudo sh cmake.sh --skip-license --exclude-subdir --prefix="${HOME}/cmake
- export PATH=~/cmake/bin:$PATH
- cmake --version
script:
- mkdir build
- cd build
- /usr/local/cmake -DCMAKE_CXX_COMPILER=$BIN_PATH/clang++ -DCMAKE_INSTALL_PREFIX=./ ../
- cmake -DCMAKE_CXX_COMPILER=$BIN_PATH/clang++ -DCMAKE_INSTALL_PREFIX=./ ../
- cd test
- make
- ./unittest