diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36bbdc2729e3aad7d617dfb2bdbfdb2cf4b53299..1eda53ed307bfdeebf4300ce89959f631caa13a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,8 +14,8 @@ script: # Let's run the tests. Substitute `coverage = false` below, if you do not # want coverage results. - - julia -e 'Pkg.rm("LabProcesses");Pkg.clone("https://gitlab.control.lth.se/processes/LabProcesses.jl")' # Update LabProcesses first - - julia -e 'Pkg.rm("BallAndBeam");Pkg.clone(pwd()); Pkg.test("BallAndBeam",coverage = false)' + - julia -e 'using Pkg;Pkg.rm("LabProcesses");Pkg.clone("https://gitlab.control.lth.se/processes/LabProcesses.jl")' # Update LabProcesses first + - julia -e 'using Pkg;Pkg.rm("BallAndBeam");Pkg.clone(pwd()); Pkg.test("BallAndBeam",coverage = false)' #- julia -e 'Pkg.update();Pkg.test("BallAndBeam", coverage = true)' # Comment out below if you do not want coverage results. #- julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("BallAndBeam")); @@ -23,8 +23,8 @@ # println("(", cl/tl*100, "%) covered")' # Name a test and select an appropriate image. -test:0.6.0: - image: julialang/julia:v0.6.0 +test:1.0.0: + image: julialang/julia:v1.0.0 <<: *test_definition