Skip to content
Snippets Groups Projects
Commit c3208d5b authored by Sebastian Henz's avatar Sebastian Henz
Browse files

Add .gitlab-ci.yml

parent 1afd141e
No related branches found
No related tags found
1 merge request!18Add .gitlab-ci.yml
Pipeline #2803 passed with stage
in 9 minutes and 31 seconds
...@@ -6,3 +6,4 @@ ...@@ -6,3 +6,4 @@
^Notizen\.md$ ^Notizen\.md$
^LICENSE\.txt$ ^LICENSE\.txt$
^\.gitlab$ ^\.gitlab$
^\.gitlab-ci\.yml$
# Using the rocker/tidyverse image because it has devtools installed.
.check_template: &check_job_template
only:
- master
- merge_requests
- tags
script:
- R -e 'devtools::install_deps()'
- R -e 'devtools::check(error_on = "warning")'
# latest version of the previous major R release
check-previous:
image: rocker/tidyverse:3.5.3
<<: *check_job_template
# latest R release
check-latest:
image: rocker/tidyverse:latest
<<: *check_job_template
# R development version
check-devel:
image: rocker/tidyverse:devel
<<: *check_job_template
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment