-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
42 lines (37 loc) · 1.67 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
cache: packages
warnings_are_errors: false
after_success:
- Rscript -e 'covr::codecov()'
jobs:
include:
- stage: "R CMD check"
r: release
- r: devel
- stage: deploy
name: covr
r: release
r_binary_packages:
- covr
script:
- Rscript -e "covr::codecov()"
- stage: deploy
name: pkgdown
r: release
if: branch IN (master)
script:
- Rscript -e "remotes::install_cran(c('pkgdown', 'devtools'))"
- Rscript -e "devtools::install()"
- Rscript -e "Sys.setenv(FULLNAME = 'Richard Iannone'); pkgdown::build_site()"
- Rscript -e "remove.packages(devtools::as.package('.')$package)"
deploy:
provider: pages
script: Rscript -e 'devtools::install()'
local-dir: docs
skip-cleanup: true
keep-history: false
on:
all_branches: true
github-token:
secure: "eFQo9opK2qcWSZUfmDr/cnIvOq4vkcZIGg20RcbRxnnBxi/hlE1Pvuyrl7+uBlUzXqOEwCrL2rnKu2OzZ4tkaAFfTYFedYhSH395ry7uONpC7PPqYTol0NBODih0Cd169X3L1ktWc07Y/ZjRDo7mHOI5IDVxq2SCGhTcSB5gwUNMu/SXO2rDTLipVqzMG3G7jCq8Tnb0paTsEhPTzEewGjvf9YycC8Z+V2KCMoHlGSfXH3WgiEDX/yh2g5EnViwPJrM1c9uvk4CFDtPYCwTM8udQWJrxtebQ5QYyFpUwF9U1pAUEbr7JxkptKMS5J3+kmU2TEOMp7HtcFLS1sIg0x1tNQgCamQifrBet/S7EGCn3jPFM7r9K13UJDa9UNSBGmE1lH8Guw/aSNLRf6PVlksU1egLHwXmg9zKJ8FWyuMtQw25FyyF+uajqgdj0UsMJYkzcdxbri8rRsh+XY+MeISRNkNy0u7MeVckyn/filZYGJEDPVAhMp3/AdeNstOFMgH2EI4of8sndCIzETNe5jfSh8eTXA1+o6Squ3ezIxp2q45LZQZuEt6oq8UIbGFM6Wod5PU4A1poHi5EPZsz+FIRqP3JsoTRj5yPgT6/vgBigTETyspdC7IArnOGIgAhgsyjz45Zt0A1Ta/zwai7bD8nu4A3/UN5Zt9TKrvl0uUQ="