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: ...@@ -33,7 +33,7 @@ stages:
script: script:
# Let's run the tests. Substitute `coverage = false` below, if you # Let's run the tests. Substitute `coverage = false` below, if you
# do not want coverage results. # do not want coverage results.
- julia -e 'using Pkg; Pkg.clone(pwd()); - julia -e 'using Pkg; Pkg.add(path=pwd());
Pkg.build("CaosDB"); Pkg.build("CaosDB");
Pkg.test("CaosDB"; coverage = true)' Pkg.test("CaosDB"; coverage = true)'
# Comment out below if you do not want coverage results. # Comment out below if you do not want coverage results.
...@@ -45,9 +45,6 @@ stages: ...@@ -45,9 +45,6 @@ stages:
# Name a test and select an appropriate image. # Name a test and select an appropriate image.
# images comes from Docker hub # images comes from Docker hub
test:0.7:
image: julia:0.7
<<: *test_definition
test:1.0: test:1.0:
image: julia:1.0 image: julia:1.0
<<: *test_definition <<: *test_definition
...@@ -67,11 +64,11 @@ test:1.6: ...@@ -67,11 +64,11 @@ test:1.6:
# Example documentation deployment # Example documentation deployment
pages: pages:
tags: [ cached-dind ] tags: [ cached-dind ]
image: julia:1.0 image: julia:1.6
stage: deploy stage: deploy
script: script:
- apt-get update -qq && apt-get install -y git # needed by Documenter - 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 -e 'using Pkg; import CaosDB; Pkg.add("Documenter")' # install Documenter
- julia --color=yes docs/make.jl # make documentation - julia --color=yes docs/make.jl # make documentation
- mv docs/build public # move to the directory picked up by Gitlab pages - 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