diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a59cc3dc20aa7a58a782a15bbb52a113dff4620..d92e3233dfb5ca864f7eed3cfedf344c59cd6967 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