forked from PecanProject/pecan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
116 lines (103 loc) · 2.38 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
# Follow instructions on:
# https://blog.rstudio.org/2016/03/09/r-on-travis-ci/
language: r
r:
- release
- devel
- oldrel
dist: xenial
sudo: required
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
matrix:
fast_finish: true
allow_failures:
- r: devel
- r: oldrel
cache:
- directories:
- .install
- .check
- .test
- .doc
- packages
addons:
apt:
sources:
- sourceline: 'ppa:ubuntugis/ppa' # for GDAL 2 binaries
packages:
- bc
- curl
- gdal-bin
- jags
- libcurl4-openssl-dev
- libgdal-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libgmp-dev
- libhdf5-dev
- liblapack-dev
- libnetcdf-dev
- libproj-dev
- libudunits2-dev
- netcdf-bin
- pandoc
- python-dev
- tcl
- tcl-dev
- udunits-bin
# R package binaries from c2d4u
- 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
## 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