forked from tidyverse/ggplot2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 892 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
language: R
cache: packages
sudo: true
dist: trusty
# build matrix; turn on vdiffr only on r release
matrix:
include:
- r: devel
- r: release
env: USE_VDIFFR=true
- r: oldrel
- r: 3.2
- r: 3.1
# work around temporary travis + R 3.5 bug
r_packages: devtools
# Install manually because dev vdiffr is not compatible with Appveyor yet
r_github_packages: lionel-/vdiffr
# environment variables set for all builds
env:
global:
# don't treat missing suggested packages as error
- _R_CHECK_FORCE_SUGGESTS_=false
# switch off vdiffr by default
- USE_VDIFFR=false
after_success:
- Rscript -e 'covr::codecov()'
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)'