Skip to content
Snippets Groups Projects
Commit 58a7858f authored by florian's avatar florian
Browse files

FIX: Adapt pipeline for Julia 1.6

parent c24dc466
Branches
Tags
No related merge requests found
Pipeline #9504 failed
......@@ -33,7 +33,7 @@ stages:
script:
# Let's run the tests. Substitute `coverage = false` below, if you
# do not want coverage results.
- julia -e 'using Pkg; Pkg.clone(pwd());
- julia -e 'using Pkg; Pkg.add(path=pwd());
Pkg.build("CaosDB");
Pkg.test("CaosDB"; coverage = true)'
# Comment out below if you do not want coverage results.
......@@ -45,9 +45,6 @@ stages:
# Name a test and select an appropriate image.
# images comes from Docker hub
test:0.7:
image: julia:0.7
<<: *test_definition
test:1.0:
image: julia:1.0
<<: *test_definition
......@@ -67,11 +64,11 @@ test:1.6:
# Example documentation deployment
pages:
tags: [ cached-dind ]
image: julia:1.0
image: julia:1.6
stage: deploy
script:
- apt-get update -qq && apt-get install -y git # needed by Documenter
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("CaosDB");' # rebuild Julia (can be put somewhere else I'm sure)
- julia -e 'using Pkg; Pkg.add(path=pwd()); Pkg.build("CaosDB");' # rebuild Julia (can be put somewhere else I'm sure)
- julia -e 'using Pkg; import CaosDB; Pkg.add("Documenter")' # install Documenter
- julia --color=yes docs/make.jl # make documentation
- mv docs/build public # move to the directory picked up by Gitlab pages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment