1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 19:26:13 +01:00

gitlab fix

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-10-23 21:37:49 +02:00
parent 9fd38afeb1
commit 60747e56f0

View File

@ -3,9 +3,17 @@
image: rocker/r-base
gitlab:
script:
# - apt-get update
# - apt-get install --yes libssl1.0.0=1.0.2g-1ubuntu4.1
#- apt-get install --yes libssl-dev libcurl4-openssl-dev libxml2-dev
#- R -e "install.packages(c('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat'))"
#- R CMD build . --no-build-vignettes --no-manual
#- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
#- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
- apt-get update
- apt-get install --yes libssl-dev libcurl4-openssl-dev libxml2-dev
- R -e "install.packages(c('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat'))"
- apt-get install --yes --no-install-recommends r-cran-testthat r-cran-devtools
- R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))'
- R CMD build . --no-build-vignettes --no-manual
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
- R -e "covr::codecov(token = '50ffa0aa-fee0-4f8b-a11d-8c7edc6d32ca')"