mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
Merge c8d445b6af5c76888cef7505d5361d8484892082 into 28b18cd1fb827dde65a2094d7e57418364eac16c
This commit is contained in:
commit
3490c202da
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ Godeps/*
|
||||
!Godeps/Godeps.json
|
||||
coverage.out
|
||||
count.out
|
||||
.cover
|
||||
|
13
.travis.yml
13
.travis.yml
@ -13,11 +13,20 @@ install:
|
||||
- go get -v github.com/kardianos/govendor
|
||||
- govendor sync
|
||||
|
||||
install:
|
||||
- test -d ${GOPATH}/bin || mkdir -p ${GOPATH}/bin
|
||||
- wget https://raw.githubusercontent.com/appleboy/golang-testing/master/coverage.sh -O ${GOPATH}/bin/coverage
|
||||
- chmod +x ${GOPATH}/bin/coverage
|
||||
# install dependency tools
|
||||
- coverage tool
|
||||
- go get -d -t -v ./...
|
||||
|
||||
script:
|
||||
- go test -v -covermode=count -coverprofile=coverage.out
|
||||
- coverage testing
|
||||
- coverage coverage
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
- bash <(curl -s https://codecov.io/bash) -f .cover/coverage.txt
|
||||
|
||||
notifications:
|
||||
webhooks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user