-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
41 lines (37 loc) · 981 Bytes
/
.gitlab-ci.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
image: gitlab-registry.insee.fr/kubernetes/images/build/r-toolbox/onyxia-rstudio-insee:r4.2.1
stages:
- check
- deploy
variables:
GIT_SSL_NO_VERIFY: "1"
PKG_NAME: "rtauargus"
pkg_check:
stage: check
tags:
- docker
script:
- Rscript -e 'install.packages(c("zoo", "gdata"))'
- Rscript -e 'devtools::check(check_dir = ".",
error_on = "error",
cran = FALSE,
document = FALSE,
manual = FALSE)'
artifacts:
paths:
- "${PKG_NAME}_*.tar.gz"
only:
- master
- developpement
pages:
stage: deploy
tags:
- docker
script:
- Rscript -e 'install.packages(c("zoo", "gdata"))'
- Rscript -e 'options(pkgdown.internet = FALSE) ; pkgdown::build_site()'
artifacts:
paths:
- public
when: manual # pour declencher manuellement le job quand version stable
only:
- master