forked from hughjonesd/huxtable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (49 loc) · 1.32 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: false
cache: packages
before_install:
- tlmgr install index threeparttable wrapfig geometry
- sudo apt-get install -y libmagick++-dev
r:
- oldrel
- release
- devel
env:
- CACHE_VERSION=standard
matrix:
include:
# check it can build without pandoc
- pandoc: false
r: release
name: no-pandoc-release
# check it can build with latest github of important packages
- r_github_packages:
- tidyverse/dplyr
- tidymodels/broom
- bbolker/broom.mixed
- tidyverse/tidyselect
- tidyverse/stringr
- hadley/assertthat
- davidgohel/flextable
- davidgohel/officer
- yihui/knitr
- rstudio/rmarkdown
r: devel
name: github-packages-devel
env:
- CACHE_VERSION=github_packages
# run tests without Suggested packages
- install:
- R -e 'install.packages(c("devtools", "testthat"))'
- R -e 'devtools::install_deps(dependencies = c("Imports", "Depends", "LinkingTo"))'
r: release
r_build_args: --no-build-vignettes
r_check_args: --no-vignettes --no-examples --ignore-vignettes
name: no-suggests-release
env:
- CACHE_VERSION=no_suggests
- _R_CHECK_FORCE_SUGGESTS_=FALSE
- _R_CHECK_RD_XREFS_=FALSE
after_success:
- Rscript run-covr.R