mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-09 17:37:44 +01:00
add pkg for support coveralls
This commit is contained in:
parent
d746bfc9f2
commit
f2ea603855
@ -63,6 +63,8 @@ install:
|
|||||||
- sudo service docker restart
|
- sudo service docker restart
|
||||||
- go get github.com/dghubble/sling
|
- go get github.com/dghubble/sling
|
||||||
- go get github.com/stretchr/testify
|
- go get github.com/stretchr/testify
|
||||||
|
- go get golang.org/x/tools/cmd/cover
|
||||||
|
- go get github.com/mattn/goveralls
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# create tables and load data
|
# create tables and load data
|
||||||
@ -72,6 +74,7 @@ script:
|
|||||||
- go list ./... | grep -v -E 'vendor|tests' | xargs -L1 fgt golint
|
- go list ./... | grep -v -E 'vendor|tests' | xargs -L1 fgt golint
|
||||||
- go list ./... | grep -v -E 'vendor|tests' | xargs -L1 go vet
|
- go list ./... | grep -v -E 'vendor|tests' | xargs -L1 go vet
|
||||||
- ./Deploy/coverage4gotest.sh
|
- ./Deploy/coverage4gotest.sh
|
||||||
|
- goveralls -coverprofile=profile.cov -service=travis-ci
|
||||||
|
|
||||||
- docker-compose -f Deploy/docker-compose.yml up -d
|
- docker-compose -f Deploy/docker-compose.yml up -d
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user