-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (39 loc) · 959 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
language: r
os: linux
dist: bionic
sudo: true
cache:
- packages
- $HOME/.ccache
latex: false
addons:
apt:
update: true
packages:
- libfreetype6
- libmagick++-dev
- cargo
- libavfilter-dev
sources:
- sourceline: 'ppa:jonathonf/ffmpeg-4'
- sourceline: 'ppa:jonathonf/ffmpeg-3'
before_install:
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
- sudo apt-get --yes --force-yes update -qq
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
- Rscript -e 'update.packages(ask = FALSE)'
env:
global:
- MAKEFLAGS="-j 2"
- _R_CHECK_FORCE_SUGGESTS_=false
jobs:
include:
- r: devel
- r: release
before_deploy: Rscript -e 'remotes::install_cran("pkgdown"); remotes::install_cran("prettydoc")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
- r: oldrel
fast_finish: true