-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
46 lines (37 loc) · 893 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
40
41
42
43
44
45
46
language: r
r: bioc-devel
cache: packages
dist: trusty
sudo: required
warnings_are_errors: true
apt_packages:
- qpdf
script:
- R CMD build . ${R_BUILD_ARGS}
- export PKG_TARBALL=`ls -1t *.tar.gz | head -n 1`
- R CMD check ${PKG_TARBALL} ${R_CHECK_ARGS}
notifications:
email: false
matrix:
include:
- r: devel
- r: release
after_success:
- R CMD INSTALL ${PKG_TARBALL}
- Rscript -e 'install.packages("pkgdown")'
- Rscript -e 'pkgdown::build_site()'
- mv docs ..
- rm -r *
- mv ../docs/* .
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_API_TOKEN
on:
branch: master
target_branch: gh-pages
env:
global:
- R_BUILD_ARGS=""
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran --compact-vignettes=gs+qpdf"
cran: http://cran.rstudio.com