You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
479 B
YAML
19 lines
479 B
YAML
5 years ago
|
sudo: false
|
||
|
language: go
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- go: master
|
||
|
fast_finish: true
|
||
|
include:
|
||
|
- go: 1.10.x
|
||
|
- go: 1.11.x
|
||
|
env: GOFMT=1
|
||
|
- go: master
|
||
|
install:
|
||
|
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
|
||
|
script:
|
||
|
- go get -t -v ./...
|
||
|
- if test -n "${GOFMT}"; then gofmt -w -s . && git diff --exit-code; fi
|
||
|
- go tool vet .
|
||
|
- go test -v -race ./...
|