diff options
author | Nick Thomas <nick@gitlab.com> | 2018-10-24 05:25:26 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-10-24 05:25:26 +0300 |
commit | 9a79ab6e4f508a8f332f16c17226e9e665aabdb5 (patch) | |
tree | e5038be65145f6423c94cb78015012fa888bebd6 /.gitlab-ci.yml | |
parent | eedcca12c35f518ba85adfd2b9babedd288bbb82 (diff) |
Improve .gitlab-ci.yml pipeline
The make verify task no longer works on Go 1.8, so split it out into a
separate job, run on go1.11. Also run the tests themselves on go1.11 as
we're here.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 771831a9..b9bb16dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,5 @@ -image: golang:1.8 - .test: &test script: - - make setup - - make verify - - make cover - echo "Running all tests without daemonizing..." - make test - echo "Running just the acceptance tests daemonized (tmpdir)...." @@ -14,9 +9,19 @@ image: golang:1.8 artifacts: paths: - bin/gitlab-pages + +verify: + image: golang:1.11 + script: + - make setup + - make verify + - make cover + artifacts: + paths: - coverage.html test:1.8: + image: golang:1.8 <<: *test test:1.9: @@ -26,3 +31,7 @@ test:1.9: test:1.10: image: golang:1.10 <<: *test + +test:1.11: + image: golang:1.11 + <<: *test |