-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 942 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
os:
- linux
compiler:
- gcc
- clang
dist: bionic
addons:
apt:
packages:
- gcc-6
- g++-6
- valgrind
- gcovr
- clang-3.9
sources:
- ubuntu-toolchain-r-test
install:
#start code inspired from https://riptutorial.com/cmake/example/4723/configure-travis-ci-with-newest-cmake
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
- travis_retry wget https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3.tar.gz
- tar -xvf cmake-3.17.3.tar.gz > /dev/null
- mv cmake-3.17.3 cmake-install
- cd cmake-install
- cmake . > /dev/null
- cmake --build . > /dev/null
- PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
- cd ${TRAVIS_BUILD_DIR}
#end code of riptutorial.com
- ./script/install_criterion.sh
script:
- cmake .
- cmake --build .
- ./Tetra-Engine-Testing
notifications:
email: false