mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
b85ddc4e4f
CI tests now tests 'go vet', 'go fmt' (via goimports) and golint. Adds Travis experimental OSX support.
25 lines
363 B
YAML
25 lines
363 B
YAML
language: go
|
|
sudo: false
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
go:
|
|
- 1.3.3
|
|
- 1.4.2
|
|
- 1.5
|
|
- tip
|
|
|
|
install:
|
|
- go get ./...
|
|
- go get -u github.com/golang/lint/golint
|
|
- go get -u golang.org/x/tools/cmd/goimports
|
|
|
|
script:
|
|
- go vet ./...
|
|
- diff <(goimports -d .) <(printf "")
|
|
- diff <(golint ./...) <(printf "")
|
|
- go test -v ./...
|
|
- go test -cpu=2 -race -v ./...
|