28 строки
562 Б
YAML
28 строки
562 Б
YAML
language: go
|
|
go:
|
|
- 1.3
|
|
- 1.4
|
|
- release
|
|
- tip
|
|
|
|
script:
|
|
# linters and vet
|
|
- go get golang.org/x/tools/cmd/vet
|
|
- go get github.com/golang/lint/golint
|
|
|
|
# pull all external dependencies
|
|
# remove them at all if possible
|
|
- go get golang.org/x/tools/imports
|
|
- go get github.com/shiena/ansicolor
|
|
|
|
# run standard go tests
|
|
- go test -v ./...
|
|
- go test -race ./...
|
|
|
|
# test me with myself
|
|
- go run cmd/godog/main.go -f progress
|
|
|
|
# code correctness
|
|
- sh -c 'if [ ! -z "$(go fmt ./...)" ]; then exit 1; fi'
|
|
- golint ./...
|
|
- go vet ./...
|