mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 04:38:42 +08:00
25 lines
358 B
YAML
25 lines
358 B
YAML
language: go
|
|
sudo: false
|
|
|
|
os:
|
|
- linux
|
|
|
|
# - osx
|
|
|
|
go:
|
|
- 1.4.2
|
|
- 1.5.3
|
|
|
|
# - 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 get -u github.com/golang/lint/golint
|
|
|
|
script:
|
|
- make check
|
|
- go test ./...
|
|
- go test -cpu=2 -race ./...
|