-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
46 lines (41 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
language: r
cache: packages
latex: false
before_install:
- sudo apt-get -y install libharfbuzz-dev libfribidi-dev
jobs:
include:
- r: release
before_cache:
- Rscript -e 'remotes::install_cran("TBFmultinomial")'
- Rscript -e 'remotes::install_cran("covr")'
- Rscript -e 'remotes::install_cran("pkgdown")'
- Rscript -e 'remotes::install_cran("scam")'
- Rscript -e 'remotes::install_cran("RColorBrewer")'
- Rscript -e 'remotes::install_cran("timereg")'
- Rscript -e 'remotes::install_cran("grid")'
- Rscript -e 'remotes::install_cran("gridExtra")'
- Rscript -e 'remotes::install_cran("coxme")'
- Rscript -e 'remotes::install_cran("knitr")'
- Rscript -e 'remotes::install_cran("rmarkdown")'
- Rscript -e 'remotes::install_cran("pec")'
- Rscript -e 'remotes::install_cran("devtools")'
- Rscript -e 'remotes::install_cran("eha")'
- Rscript -e 'remotes::install_cran("survival")'
- Rscript -e 'remotes::install_github("cran/etm")'
# whitelist
branches:
only:
- master
after_success:
- Rscript -e 'devtools::install()'
- Rscript -e 'covr::codecov(type="all", line_exclusions="R/zzz.R")'
- Rscript -e 'pkgdown::build_site()'
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_PAT
keep_history: false
local_dir: docs
on:
all_branches: true