mirror of
https://github.com/soheilhy/cmux.git
synced 2024-11-13 04:56:33 +08:00
20 lines
408 B
YAML
20 lines
408 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.3
|
|
- 1.4
|
|
- 1.5
|
|
- 1.6
|
|
|
|
before_install:
|
|
- go get -u github.com/golang/lint/golint
|
|
- if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then go get -u github.com/kisielk/errcheck; fi
|
|
- go get -u golang.org/x/tools/cmd/vet
|
|
|
|
before_script:
|
|
- '! gofmt -s -l . | read'
|
|
- golint ./...
|
|
- echo $TRAVIS_GO_VERSION
|
|
- if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then errcheck ./...; fi
|
|
- go vet .
|