Test on last three major golang versions.

This commit is contained in:
Stanislav Nikitin 2018-12-18 04:08:14 +05:00
parent e21f82e828
commit e91109bcb8
1 changed files with 20 additions and 1 deletions

View File

@ -8,7 +8,26 @@ before_script:
- ln -s $CI_PROJECT_DIR ${GOPATH}/src/gitlab.com/pztrn/flagger
- cd ${GOPATH}/src/gitlab.com/pztrn/flagger
test:
test:1.11.4:
image: golang:1.11.4
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...
test:1.10:
image: golang:1.10.7
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...
test:1.9:
image: golang:1.9.7
stage: test
tags:
- docker