forked from PecanProject/pecan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
88 lines (77 loc) · 1.82 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
language: r
dist: xenial
os: linux
env:
global:
# TODO: `make -j2` interleaves output lines from simultaneous processes.
# Would be nice to fix by adding `-Otarget`, but not supported in Make 3.x.
# When Travis updates, check for Make 4 and add -O if available.
- MAKEFLAGS="-j2"
- PGHOST=localhost
- RGL_USE_NULL=TRUE # Keeps RGL from complaining it can't find X11
- _R_CHECK_LENGTH_1_CONDITION_=true
- _R_CHECK_LENGTH_1_LOGIC2_=true
addons:
apt:
sources:
- sourceline: 'ppa:ubuntugis/ppa' # for GDAL 2 binaries
packages:
- bc
- curl
- gdal-bin
- jags
- libgdal-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libglpk-dev # indirectly needed by BayesianTools
- libgmp-dev
- libhdf5-dev
- liblapack-dev
- libnetcdf-dev
- libproj-dev
- librdf0-dev
- libudunits2-dev
- netcdf-bin
- pandoc
- python-dev
- qpdf
- tcl
- tcl-dev
- udunits-bin
jobs:
fast_finish: true
include:
- r: release
- r: devel
- r: oldrel
- r: 3.5
allow_failures:
- r: devel
- r: oldrel
- r: 3.5
cache:
- directories:
- .install
- .check
- .test
- .doc
- packages
## notifications should go to slack
notifications:
slack:
# Slack token created by Chris Black, 2018-02-17
secure: "DHHSNmiCf71SLa/FFSqx9oOnJjJt2GHYk7NsFIBb9ZY10RvQtIPfaoNxkPjqu9HLyZWJSFtg/uNKKplEHc6W80NoXyqoTvwOxTPjMaViXaCNqsmzjjR/JaCWT/oWGXyAw0VX3S8cwuIexlKQGgZwJpIzoVOZqUrDrHI/O17kZoM="
email:
on_success: always
on_failure: always
## list of services to be running
services:
- docker
install:
- scripts/travis/install.sh
before_script:
- scripts/travis/before_script.sh
script:
- scripts/travis/script.sh
after_script:
- scripts/travis/after_script.sh