-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
47 lines (42 loc) · 1.2 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
language: cpp
matrix:
include:
- os: linux
compiler: gcc
dist: bionic
sudo: required
env: WITH_CMAKE=true SV_EXTERNALS_VERSION_NUMBER=2019.06 BUILD_VTK=false
- os: linux
compiler: gcc
dist: xenial
sudo: required
env: WITH_CMAKE=true SV_EXTERNALS_VERSION_NUMBER=2019.06 BUILD_VTK=false
- os: osx
compiler: clang
osx_image: xcode9.4
sudo: required
env: WITH_CMAKE=true SV_EXTERNALS_VERSION_NUMBER=2019.06 BUILD_VTK=false
allow_failures:
- os: osx
addons:
apt:
packages:
- gfortran
- libglu1-mesa-dev
- libgl1-mesa-dev
- libmpich-dev
git:
submodules: false
before_install:
- export NUM_THREADS=4
- export cwd=$(pwd)
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cwd=$(pwd -W); fi
- echo "CWD=$cwd"
- export SCRIPTS=$cwd/travis
- export BUILD_DIR=$cwd/build
- export SV_TOP_DIR=$cwd
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mpich; fi
- if $WITH_CMAKE; then $SCRIPTS/travis_get_cmake_latest.sh; fi
script: $SCRIPTS/travis_build.sh