1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 06:46:11 +01:00

gitlab ci

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-01-04 10:41:18 +01:00
parent 6652f7d82b
commit eab3c9dac8
3 changed files with 12 additions and 10 deletions

View File

@ -1,19 +1,19 @@
^.*\.Rproj$
^\.gitlab-ci.yml$
^\.gitlab-ci\.yml$
^\.Rprofile$
^\.Rproj\.user$
^\.travis.yml$
^\.zenodo.json$
^\.travis\.yml$
^\.zenodo\.json$
^_noinclude$
^_pkgdown\.yml$
^appveyor.yml$
^appveyor\.yml$
^ci.R$
^cran-comments\.md$
^CRAN-RELEASE$
^doc$
^docs$
^git.sh$
^gitmerge.sh$
^git_merge\.sh$
^git_premaster\.sh$
^index\.md$
^Meta$
^packrat/

4
.gitignore vendored
View File

@ -17,7 +17,7 @@ vignettes/*.R
.DS_Store
.Rprofile
^CRAN-RELEASE$
git.sh
gitmerge.sh
git_premaster.sh
git_merge.sh
packrat/lib*/
packrat/src/

View File

@ -41,8 +41,9 @@ before_script:
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- /usr/local/lib/R/*
- /usr/lib/R/*
- /usr/local/lib/R/site-library/
- /usr/lib/R/site-library/
- /usr/lib/R/library/
R 3:
stage: build
@ -56,6 +57,7 @@ R 3:
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
- Rscript -e 'print(.libPaths())'
- ls -lh /usr/local/lib/R/site-library
artifacts:
paths:
- '*.Rcheck/*'