-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
38 lines (31 loc) · 1.03 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
language: r
# https://blog.rstudio.org/2016/03/09/r-on-travis-ci/
sudo: false
cache: packages
before_script:
# install the pkg so it can be used as a vig builder (only necessary for packagedocs)
- Rscript -e "devtools::install()"
# install locally to avoid rev dep
r_binary_packages:
# - covr # code coverage check
- lintr # code lint
r_github_packages:
- schloerke/travisDrat # deploy to drat
after_success:
# install the pkg so it can be used as a vig builder (only necessary for packagedocs)
- Rscript -e "devtools::install()"
- Rscript -e "packagedocs::deploy_travis()"
- Rscript -e "packagedocs::deploy_travis(valid_branches = 'dev', push_branch = 'gh-pages-dev')"
- Rscript -e "travisDrat::deploy_drat()"
notifications:
email:
on_success: change
on_failure: change
branches:
only:
- master
- dev
- travis
env:
global:
secure: "PpC0ZIFw2TRK5NUnRp0aDwuVgnaT2/uKhQ+YmkIfq7O3c6HhxRIs19opdCvD3skrgkslmVY9QfNjr2Zw5Vz/FafZ8nnr5zd7UdrlX1oaHW4WJ1pTyi/5Hl83bG0PZMo2byKQ7j4c720yl7MmtTx8i9P7PKTxjVOaxqAPiMjamWw="