rclone/.travis.yml
Klaus Post 40dc575aa4 Update Travis CI
- Only use golint if version is > Go 1.4
- Add Go 1.6 and tip as test targets.
2016-03-23 17:07:26 +00:00

25 lines
408 B
YAML

language: go
sudo: false
os:
- linux
# - osx
go:
- 1.4.2
- 1.5.3
- 1.6
- tip
install:
- go get -t ./...
- '[[ `go version` =~ go1.[0-4][^0-9] ]] || go get -u github.com/kisielk/errcheck'
- go get -u golang.org/x/tools/cmd/goimports
- '[[ `go version` =~ go1.[0-4][^0-9] ]] || go get -u github.com/golang/lint/golint'
script:
- make check
- go test ./...
- go test -cpu=2 -race ./...