-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
128 lines (116 loc) · 2.54 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
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
_apt: &apt-base
- bc
- curl
- gdal-bin
- jags
- libgdal-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- 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
_c2d4u: &apt-r-binaries
- r-bioc-biocinstaller
- r-cran-ape
- r-cran-curl
- r-cran-data.table
- r-cran-devtools
- r-cran-dplyr
- r-cran-gap
- r-cran-ggplot2
- r-cran-httr
- r-cran-igraph
- r-cran-lme4
- r-cran-matrixstats
- r-cran-mcmcpack
- r-cran-raster
- r-cran-rcpp
- r-cran-rcurl
- r-cran-redland
- r-cran-rjags
- r-cran-rncl
- r-cran-roxygen2
- r-cran-rsqlite
# - r-cran-sf
- r-cran-shiny
- r-cran-sirt
- r-cran-testthat
- r-cran-tidyverse
- r-cran-xml
- r-cran-xml2
- r-cran-xts
jobs:
fast_finish: true
include:
- r: release
addons: &addons-c2d4u
apt:
sources:
- sourceline: 'ppa:ubuntugis/ppa' # for GDAL 2 binaries
packages:
- *apt-base
- *apt-r-binaries
- r: devel
addons: &addons-base
apt:
sources:
- sourceline: 'ppa:ubuntugis/ppa' # for GDAL 2 binaries
packages:
- *apt-base
- r: oldrel
addons: *addons-base
allow_failures:
- r: devel
addons: *addons-base
- r: oldrel
addons: *addons-base
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