-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (41 loc) · 983 Bytes
/
.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: r
r:
- release
# - devel
deploy.skip_cleanup: true
sudo: required
dist: trusty
cache: false
latex: false
addons:
apt:
sources:
- sourceline: 'ppa:opencpu/jq'
- sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
packages:
- libgdal-dev
- libgeos-dev
- libproj-dev
- libudunits2-dev
- libv8-dev
- libjq-dev
- libprotobuf-dev
- protobuf-compiler
- libssl-dev
- libcairo2-dev
- libnetcdf-dev
- netcdf-bin
before_install:
- R -q -e 'install.packages("remotes"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages()'
install: R -q -e 'tic::install()'
script: R -q -e 'tic::script()'
before_deploy: R -q -e 'tic::before_deploy()'
deploy:
provider: script
script: R -q -e 'tic::deploy()'
on:
branch: master
condition:
- $TRAVIS_PULL_REQUEST = false
- $TRAVIS_EVENT_TYPE != cron
- $TRAVIS_R_VERSION_STRING = release