forked from tidyverse/reprex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (34 loc) · 900 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
cran: https://demo.rstudiopm.com/all/__linux__/xenial/latest
cache: packages
addons:
apt:
packages:
- xsel
env:
global:
- _R_CHECK_FORCE_SUGGESTS_=false
services:
- xvfb
matrix:
include:
- r: devel
- r: release
after_success:
- Rscript -e 'covr::codecov()'
- find . -name testthat.Rout | xargs cat
after_failure:
- find . -name testthat.Rout | xargs cat
before_cache:
- Rscript -e 'remotes::install_cran("pkgdown")'
- Rscript -e 'remotes::install_github("tidyverse/tidytemplate")'
- Rscript -e 'remotes::install_cran("dplyr")'
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