-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (33 loc) · 961 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
#Travis CI configuration for VXL
# See http://travis-ci.org/vxl/vxl
sudo: false
language: cpp
compiler:
- gcc
- clang
# https://docs.travis-ci.com/user/customizing-the-build/
git:
depth: 3
#cache: false
# directories:
# - $HOME/deps
# Need to install cmake 2.8.9 because default 2.8.7 bugs fail to build
before_script:
- bash .travis/install-deps.sh
script:
- export PATH=${HOME}/deps/bin:$PATH
- export HERE=$(pwd)
- ${HOME}/deps/bin/cmake --version
- mkdir -p ${HERE}/build
- mkdir -p ${HERE}/install
- cd ${HERE}/build
- ${HOME}/deps/bin/cmake
-DCMAKE_INSTALL_PREFIX=${HERE}/install
-DCMAKE_CXX_STANDARD=98
../
- ${HOME}/deps/bin/ctest -D ExperimentalStart
- ${HOME}/deps/bin/ctest -D ExperimentalConfigure
- ${HOME}/deps/bin/ctest -D ExperimentalBuild -j2
- ${HOME}/deps/bin/ctest -D ExperimentalTest --schedule-random -j2
- ${HOME}/deps/bin/ctest -D ExperimentalSubmit
- make install