1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 19:26:13 +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$ ^.*\.Rproj$
^\.gitlab-ci.yml$ ^\.gitlab-ci\.yml$
^\.Rprofile$ ^\.Rprofile$
^\.Rproj\.user$ ^\.Rproj\.user$
^\.travis.yml$ ^\.travis\.yml$
^\.zenodo.json$ ^\.zenodo\.json$
^_noinclude$ ^_noinclude$
^_pkgdown\.yml$ ^_pkgdown\.yml$
^appveyor.yml$ ^appveyor\.yml$
^ci.R$ ^ci.R$
^cran-comments\.md$ ^cran-comments\.md$
^CRAN-RELEASE$ ^CRAN-RELEASE$
^doc$ ^doc$
^docs$ ^docs$
^git.sh$ ^git_merge\.sh$
^gitmerge.sh$ ^git_premaster\.sh$
^index\.md$ ^index\.md$
^Meta$ ^Meta$
^packrat/ ^packrat/

4
.gitignore vendored
View File

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

View File

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