mirror of
https://github.com/rclone/rclone.git
synced 2025-01-06 06:20:01 +01:00
26 lines
637 B
YAML
26 lines
637 B
YAML
sudo: false
|
|
|
|
language: go
|
|
go:
|
|
- 1.8.x
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- master
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: master
|
|
|
|
install:
|
|
- go get -u github.com/golang/lint/golint
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
- dep ensure
|
|
|
|
script:
|
|
- bash rungas.sh
|
|
- grep -L -r --include *.go --exclude-dir vendor -P "Copyright (\d{4}|\(c\)) Microsoft" ./ | tee /dev/stderr | test -z "$(< /dev/stdin)"
|
|
- test -z "$(go build $(go list ./... | grep -v vendor) | tee /dev/stderr)"
|
|
- test -z "$(go fmt $(go list ./... | grep -v vendor) | tee /dev/stderr)"
|
|
- go vet $(go list ./... | grep -v vendor)
|
|
- go test $(sh ./findTestedPackages.sh)
|