Fix gitlab CI
Change-Id: I55cd900a06c96077cc9c9013001a0b81d2ef4e89
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f573fe..4c9f716 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,12 +7,12 @@
script:
# Let's run the tests. Substitute `coverage = false` below, if you do not
# want coverage results.
- - julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("DerekoVecs"); Pkg.test("DerekoVecs"; coverage = true)'
+ - julia --project -e 'using Pkg; Pkg.build(); Pkg.test(coverage = true)'
# Comment out below if you do not want coverage results.
- - julia -e 'using Pkg; Pkg.add("Coverage");
- import DerekoVecs; cd(joinpath(dirname(pathof(DerekoVecs)), ".."));
- using Coverage; cl, tl = get_summary(process_folder());
- println("(", cl/tl*100, "%) covered")'
+ # - julia -e 'using Pkg; Pkg.add("Coverage");
+ # import DerekoVecs; cd(joinpath(dirname(pathof(DerekoVecs)), ".."));
+ # using Coverage; cl, tl = get_summary(process_folder());
+ # println("(", cl/tl*100, "%) covered")'
test:
image: julia:latest