mirror of
https://github.com/octoleo/restic.git
synced 2024-11-12 16:26:34 +00:00
22 lines
523 B
YAML
22 lines
523 B
YAML
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.8
|
|
|
|
install:
|
|
- go get -u github.com/golang/lint/golint
|
|
- go get -u github.com/Masterminds/glide
|
|
- go get -u github.com/stretchr/testify
|
|
- go get -u github.com/GoASTScanner/gas
|
|
- glide install
|
|
|
|
script:
|
|
- test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)"
|
|
- test -z "$(golint ./autorest/... | tee /dev/stderr)"
|
|
- go vet ./autorest/...
|
|
- test -z "$(gas ./autorest/... | tee /dev/stderr | grep Error)"
|
|
- go build -v ./autorest/...
|
|
- go test -v ./autorest/...
|