Skip to content
Snippets Groups Projects
Verified Commit b095280b authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Another CI fix

parent c10645d2
No related branches found
No related tags found
No related merge requests found
......@@ -8,17 +8,13 @@ before_script:
- apt-get -qq update; apt-get -y install git
- mkdir -p /root/.ssh && ssh-keyscan -H -t rsa git.km3net.de >> /root/.ssh/known_hosts
.km3net_registry:
.script:
script:
- |
julia -e '
using Pkg
Pkg.update()
Pkg.Registry.add(RegistrySpec(url = "https://git.km3net.de/common/julia-registry"))'
.test_script:
script:
- |
julia --project=@. -e '
using Pkg
Pkg.build()
......@@ -30,6 +26,8 @@ before_script:
- |
julia -e '
using Pkg
Pkg.update()
Pkg.Registry.add(RegistrySpec(url = "https://git.km3net.de/common/julia-registry"))
Pkg.add("Coverage")
using Coverage
c, t = get_summary(process_folder())
......@@ -40,24 +38,25 @@ Julia 1.6:
image: docker.km3net.de/base/julia:1.6
stage: test
extends:
- .km3net_registry
- .test_script
- .script
- .coverage
Julia 1.8:
image: docker.km3net.de/base/julia:1.8
stage: test
extends:
- .km3net_registry
- .test_script
- .script
- .coverage
docs:
image: docker.km3net.de/base/julia:1.8
stage: docs
extends:
- .km3net_registry
script:
- |
julia --project=docs -e '
using Pkg
Pkg.update()
Pkg.Registry.add(RegistrySpec(url = "https://git.km3net.de/common/julia-registry"))'
- |
julia --project=docs -e '
using Pkg
......
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