forked from tidymodels/broom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
73 lines (60 loc) · 1.28 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: required
cache: packages
bioc_required: true
warnings_are_errors: false
# testing btergm is truly a nightmare. the following is an attempt to fix
# https://travis-ci.org/tidymodels/broom/builds/568934841#L8845 pull from
# https://github.com/travis-ci/travis-ci/issues/6987#issuecomment-266754776
services:
- xvfb
before_cache: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
matrix:
include:
- r: devel
- r: release
- r: oldrel
- r: 3.3
- r: 3.2
env:
global:
- R_MAX_NUM_DLLS=999
- _R_CHECK_FORCE_SUGGESTS_=true
- _R_CHECK_CRAN_INCOMING_=true
r_build_args: "--no-build-vignettes"
r_check_args: "--no-build-vignettes --as-cran"
matrix:
allow_failures:
- r: 3.1
- r: 3.2
- r: 3.3
r_binary_packages:
- psych
- survival
- mclust
- git2r
- data.table
- RSiena
- geometry
- kernlab
- FNN
- maps
r_packages:
- rlang
- bindrcpp
- purrr
- tidyr
- dplyr
- readr
r_github_packages:
- jimhester/lintr
- tidyverse/tidytemplate
after_success:
- Rscript -e 'covr::codecov()'
- R CMD INSTALL $PKG_TARBALL
- Rscript -e 'lintr::lint_package()'