Update travis config
This commit is contained in:
10
.travis.yml
10
.travis.yml
@ -1,8 +1,10 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.5.3
|
- 1.5.4
|
||||||
- 1.6
|
- 1.6.3
|
||||||
|
|
||||||
|
go_import_path: google.golang.org/grpc
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- go get golang.org/x/tools/cmd/goimports
|
- go get golang.org/x/tools/cmd/goimports
|
||||||
@ -11,10 +13,6 @@ before_install:
|
|||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
- go get golang.org/x/tools/cmd/cover
|
- go get golang.org/x/tools/cmd/cover
|
||||||
|
|
||||||
install:
|
|
||||||
- mkdir -p "$GOPATH/src/google.golang.org"
|
|
||||||
- mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/google.golang.org/grpc"
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- '! gofmt -s -d -l . 2>&1 | read'
|
- '! gofmt -s -d -l . 2>&1 | read'
|
||||||
- '! goimports -l . | read'
|
- '! goimports -l . | read'
|
||||||
|
Reference in New Issue
Block a user