-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 809 Bytes
/
.travis.yml
File metadata and controls
26 lines (26 loc) · 809 Bytes
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
language: r
cache: packages
warnings_are_errors: false
r:
- release
before_install:
- tlmgr install index
- sudo apt-get -y install libudunits2-dev # For units package
- sudo apt-get -y install libmagick++-dev # For magick package dependence in hexSticker suggest
- sudo apt-get -y install libfribidi-dev # For textshaping package
before_cache: Rscript -e 'remotes::install_cran("pkgdown")'
r_packages:
- covr
- lintr
env:
- ON_TRAVIS = 1
after_success:
- R CMD INSTALL $PKG_TARBALL
- Rscript -e 'library(covr); codecov()'
- Rscript -e 'lintr::lint_package()'
- Rscript -e 'pkgdown::build_site()'
# pkgdown in Travis is not working ok
#deploy:
# provider: script
#script: Rscript -e 'pkgdown::deploy_site_github(ssh_id = Sys.getenv("TRAVIS_DEPLOY_KEY", ""))'
# skip_cleanup: true