ci update

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-04-09 16:09:18 +02:00
parent 461eec9bac
commit f867d11598
1 changed files with 9 additions and 1 deletions

View File

@ -31,7 +31,7 @@ before_script:
# install dependencies for packages
- apt-get install -y wget locales libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev > /dev/null
# recent pandoc
- wget --quiet https://github.com/jgm/pandoc/releases/download/2.6/pandoc-2.6-1-amd64.deb
- wget --quiet https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-1-amd64.deb
- dpkg -i pandoc*.deb
- rm pandoc*.deb
# set R system language
@ -103,6 +103,10 @@ coverage:
stage: test
allow_failure: true
when: on_success
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- installed_deps/
only:
- premaster
- master
@ -117,6 +121,10 @@ coverage:
pages:
stage: deploy
when: always
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- installed_deps/
only:
- master
script: