
Change-Id: Ifa8cc0e4abb798c63c9d4ac9297e3e32443125e4 Implements: blueprint auth-controller-framework Signed-off-by: mozhuli <21621232@zju.edu.cn>
37 lines
818 B
YAML
37 lines
818 B
YAML
clone:
|
|
path: github.com/go-openapi/analysis
|
|
|
|
matrix:
|
|
GO_VERSION:
|
|
- "1.6"
|
|
|
|
build:
|
|
integration:
|
|
image: golang:$$GO_VERSION
|
|
pull: true
|
|
commands:
|
|
- go get -u github.com/stretchr/testify/assert
|
|
- go get -u gopkg.in/yaml.v2
|
|
- go get -u github.com/go-openapi/swag
|
|
- go get -u github.com/go-openapi/jsonpointer
|
|
- go get -u github.com/go-openapi/spec
|
|
- go get -u github.com/go-openapi/loads/fmts
|
|
- go test -race ./...
|
|
- go test -v -cover -coverprofile=coverage.out -covermode=count ./...
|
|
|
|
notify:
|
|
slack:
|
|
channel: bots
|
|
webhook_url: $$SLACK_URL
|
|
username: drone
|
|
|
|
publish:
|
|
coverage:
|
|
server: https://coverage.vmware.run
|
|
token: $$GITHUB_TOKEN
|
|
# threshold: 70
|
|
# must_increase: true
|
|
when:
|
|
matrix:
|
|
GO_VERSION: "1.6"
|