forked from r-spatial/stars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.02 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
language: r
r:
- release
- oldrel
# - devel
sudo: required
dist: trusty
cache: packages
latex: true
addons:
apt:
sources:
- sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
packages:
- libudunits2-dev
- libnetcdf-dev
- libproj-dev
- libgeos-dev
- libgdal-dev
- netcdf-bin
before_install:
- R -q -e 'install.packages("remotes"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages(); tic::before_install()'
- R -q -e 'install.packages("starsdata", repos = "http://gis-bigdata.uni-muenster.de/pebesma" , type = "source")'
# after_success: R -q -e 'tic::after_success()'
after_success: R -q -e 'covr::codecov(quiet = FALSE)'
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