Update GitLab default template
This commit is contained in:
parent
251dbad4d8
commit
c7f9eb5974
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user