Платформа ЦРНП "Мирокод" для разработки проектов
https://git.mirocod.ru
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
363 B
29 lines
363 B
5 years ago
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.10.x
|
||
|
- 1.11.x
|
||
|
- 1.12.x
|
||
|
- 1.13.x
|
||
|
- master
|
||
|
|
||
|
stages:
|
||
|
- lint
|
||
|
- test
|
||
|
|
||
|
jobs:
|
||
|
include:
|
||
|
- stage: lint
|
||
|
script:
|
||
|
- go get golang.org/x/lint/golint
|
||
|
- golint -set_exit_status
|
||
|
- go vet -v
|
||
|
- stage: test
|
||
|
script:
|
||
|
- go test -v
|
||
|
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- go: master
|
||
|
fast_finish: true
|