mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 20:06:11 +01:00
gl ci
This commit is contained in:
parent
e8e27a580e
commit
29fc106d59
@ -33,9 +33,9 @@ stages:
|
|||||||
image: debian:buster-slim
|
image: debian:buster-slim
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update
|
- apt-get -q update
|
||||||
# install dependencies for packages
|
# install dependencies for packages
|
||||||
- apt-get -y install libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev pandoc r-base
|
- apt-get -y -q install libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev pandoc r-base
|
||||||
# cache R packages
|
# cache R packages
|
||||||
- mkdir -p installed_deps
|
- mkdir -p installed_deps
|
||||||
- echo 'R_LIBS="installed_deps"' > .Renviron
|
- echo 'R_LIBS="installed_deps"' > .Renviron
|
||||||
@ -57,8 +57,8 @@ R 3:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
# remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file
|
# remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file
|
||||||
#- rm -rf vignettes
|
- rm -rf vignettes
|
||||||
#- Rscript -e 'd <- read.dcf("DESCRIPTION"); d[, colnames(d) == "VignetteBuilder"] <- NA; write.dcf(d, "DESCRIPTION")'
|
- Rscript -e 'd <- read.dcf("DESCRIPTION"); d[, colnames(d) == "VignetteBuilder"] <- NA; write.dcf(d, "DESCRIPTION")'
|
||||||
# build package
|
# build package
|
||||||
- R CMD build . --no-build-vignettes --no-manual
|
- R CMD build . --no-build-vignettes --no-manual
|
||||||
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
|
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user