mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
20 lines
590 B
YAML
20 lines
590 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.6.3
|
|
- 1.7
|
|
- 1.8
|
|
|
|
go_import_path: google.golang.org/grpc
|
|
|
|
before_install:
|
|
- go get github.com/golang/lint/golint
|
|
- go get -u golang.org/x/tools/cmd/goimports github.com/axw/gocov/gocov github.com/mattn/goveralls golang.org/x/tools/cmd/cover
|
|
|
|
script:
|
|
- '! gofmt -s -d -l . 2>&1 | read'
|
|
- '! goimports -l . | read'
|
|
- '! golint ./... | grep -vE "(_mock|_string|\.pb)\.go:"'
|
|
- '! go tool vet -all . 2>&1 | grep -vE "constant [0-9]+ not a string in call to Errorf" | grep -vF .pb.go:' # https://github.com/golang/protobuf/issues/214
|
|
- make test testrace
|