From 58a7858f7e6133b0d378eaa7ea7512f1b4107e01 Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Wed, 30 Jun 2021 10:07:46 +0200
Subject: [PATCH] FIX: Adapt pipeline for Julia 1.6

---
 .gitlab-ci.yml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a59cc3..d92e323 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
-- 
GitLab