forked from tidyverse/ggplot2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (40 loc) · 1.03 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
language: R
cache: packages
# build matrix; turn on vdiffr only on r release
matrix:
include:
- r: devel
# avoind errors due to world clock API (hopefully can be removed in future)
env: _R_CHECK_SYSTEM_CLOCK_=false
- r: release
env: VDIFFR_RUN_TESTS=true
before_cache:
- Rscript -e 'remotes::install_cran("pkgdown")'
- Rscript -e 'remotes::install_github("tidyverse/tidytemplate")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
skip_cleanup: true
- r: 3.5
- r: 3.4
- r: 3.3
- r: 3.2
env: R_REMOTES_NO_ERRORS_FROM_WARNINGS=true
# 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
- VDIFFR_RUN_TESTS=false
after_success:
- Rscript -e 'covr::codecov()'
addons:
apt:
sources:
- sourceline: 'ppa:ubuntugis/ppa'
packages:
- libudunits2-dev
- libproj-dev
- libgeos-dev
- libgdal-dev