-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
executable file
·59 lines (51 loc) · 1.12 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: cpp
matrix:
include:
- os: linux
compiler: gcc
dist: trusty
sudo: required
env: VTK_VERSION=6.2
- os: linux
compiler: gcc
dist: trusty
sudo: required
env: VTK_VERSION=7.0
- os: osx
compiler: clang
osx_image: xcode7.3
sudo: required
env: VTK_VERSION=6.2
- os: osx
compiler: clang
osx_image: xcode7.3
sudo: required
env: VTK_VERSION=7.0
allow_failures:
- os: osx
- env: VTK_VERSION=7.0
addons:
apt:
packages:
- curl
- cmake
git:
submodules: false
before_install:
- export NUM_THREADS=4
- export cwd=$(pwd)
- export SCRIPTS=$cwd/Travis
- export EXTERNALS_DIR=~/travis/external
- export VTK_SOURCE_DIR=$EXTERNALS_DIR/vtk-$VTK_VERSION
- export VTK_DIR=$EXTERNALS_DIR/vtk-$VTK_VERSION-build
- export BUILD_DIR=$cwd/build
cache:
directories:
- ~/travis/external/vtk-6.2
- ~/travis/external/vtk-6.2-build
- ~/travis/external/vtk-7.0
- ~/travis/external/vtk-7.0-build
timeout: 900
before_script:
- $SCRIPTS/travis_build_vtk.sh
script: $SCRIPTS/travis_build_and_test.sh