forked from UW-Hydro/VIC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (93 loc) · 1.97 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
language: c
sudo: false # use container based build
notifications:
email: false
matrix:
fast_finish: true
include:
# Image Driver
- compiler: gcc
os: linux
env: TESTID='image'
addons:
apt_packages:
- libnetcdf-dev
- netcdf-bin
- netcdf-doc
- gfortran
- valgrind
# open-mpi is built from source in image.travis
# CESM Driver
- compiler: gcc
os: linux
env: TESTID='cesm'
addons:
apt_packages:
- libnetcdf-dev
- netcdf-bin
- netcdf-doc
- gfortran
# open-mpi is built from source in cesm.travis
# Classic Driver
- compiler: clang
os: linux
env: TESTID='classic'
addons:
apt_packages:
- valgrind
sources:
- ubuntu-toolchain-r-test
- compiler: gcc
os: linux
env: TESTID='classic'
addons:
apt_packages:
- valgrind
sources:
- ubuntu-toolchain-r-test
- compiler: gcc
os: linux
env: TESTID=classic USE_CC=gcc-5
addons:
apt:
packages:
- gcc-5
- gcc-5-multilib
- linux-libc-dev:i386
- valgrind
sources:
- ubuntu-toolchain-r-test
- compiler: clang
os: linux
env: TESTID=classic USE_CC=clang-3.6
addons:
apt:
packages:
- clang-3.6
- valgrind
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
- compiler: gcc
os: osx
env: TESTID=classic BREW_INSTALLS=valgrind
allow_failures:
# OSX build moved to allowed failures because throughput was so slow on travis
- compiler: gcc
os: osx
env: TESTID=classic BREW_INSTALLS=valgrind
before_install:
- source ci/vic_install_utils
- source ci/${TESTID}.travis
- install_miniconda
- vic_before_install
install:
- vic_install
before_script:
- vic_before_script
script:
- vic_script
after_success:
- vic_after_success
after_failure:
- vic_after_failure