Update GitLab default template

This commit is contained in:
Chris de Graaf 2017-09-23 11:59:54 +01:00
parent 251dbad4d8
commit c7f9eb5974

View File

@ -1,6 +1,6 @@
stages: stages:
- test - test{{#GITLABCOVERAGE}}
- coverage - coverage{{/GITLABCOVERAGE}}
.test_template: &test_template .test_template: &test_template
stage: test stage: test
@ -12,8 +12,8 @@ stages:
tags: tags:
- docker - docker
script: script:
- julia -e 'Pkg.clone(pwd()); Pkg.build("{{PKGNAME}}"); Pkg.test("{{PKGNAME}}"{{#GITLABCOVERAGE}}; coverage=true{{/GITLABCOVERAGE}})' - julia -e 'Pkg.clone(pwd()); Pkg.build("{{PKGNAME}}"); Pkg.test("{{PKGNAME}}"{{#GITLABCOVERAGE}}; coverage=true
- cp -r $(julia -e 'print(Pkg.dir("{{PKGNAME}}", "src"))') coverage - cp -r $(julia -e 'print(Pkg.dir("{{PKGNAME}}", "src"))') coverage{{/GITLABCOVERAGE}})'
Julia {{VERSION}}: Julia {{VERSION}}:
image: julia:{{VERSION}} image: julia:{{VERSION}}