mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 13:09:58 +08:00
26 lines
371 B
YAML
26 lines
371 B
YAML
language: go
|
|
sudo: false
|
|
|
|
os:
|
|
- linux
|
|
|
|
# - osx
|
|
|
|
go:
|
|
- 1.3.3
|
|
- 1.4.2
|
|
- 1.5.1
|
|
|
|
# - tip
|
|
|
|
install:
|
|
- go get ./...
|
|
- '[[ `go version` =~ go1.[0-4][^0-9] ]] || go get -u github.com/kisielk/errcheck'
|
|
- go get -u golang.org/x/tools/cmd/goimports
|
|
- go get -u github.com/golang/lint/golint
|
|
|
|
script:
|
|
- make check
|
|
- go test -v ./...
|
|
- go test -cpu=2 -race -v ./...
|