CI configuration.

This commit is contained in:
Stanislav Nikitin 2019-09-17 18:41:57 +05:00
parent 3476411569
commit 70ff28e792
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE
1 changed files with 52 additions and 0 deletions

52
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,52 @@
stages:
- test
before_script:
- mkdir -p ${GOPATH}/src/gitlab.com/pztrn/
- ln -s $CI_PROJECT_DIR ${GOPATH}/src/gitlab.com/pztrn/sec
- cd ${GOPATH}/src/gitlab.com/pztrn/sec
test:1.13:
image: golang:1.13.0
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...
test:1.12:
image: golang:1.12.9
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...
test:1.11:
image: golang:1.11.13
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...
test:1.10:
image: golang:1.10.8
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...
test:1.9:
image: golang:1.9.7
stage: test
tags:
- docker
script:
- pwd
- go test -test.v -cover ./...