Added codecov

This commit is contained in:
Gavin Bunney
2019-10-18 11:20:35 -07:00
parent df280cd154
commit cbbfb79dba
3 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@@ -35,3 +35,4 @@ docker-compose
docker-compose-test-plugin.jar
node_modules/
docusaurus/website/build/
coverage.txt

View File

@@ -20,6 +20,9 @@ script:
- make build
- BITBUCKET_SERVER=http://localhost:7990 BITBUCKET_USERNAME=admin BITBUCKET_PASSWORD=admin make testacc
after_success:
- bash <(curl -s https://codecov.io/bash)
matrix:
fast_finish: true
allow_failures:

View File

@@ -3,6 +3,8 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
PKG_NAME=bitbucket
export GO111MODULE=on
export TESTARGS=-race -coverprofile=coverage.txt -covermode=atomic
export BITBUCKET_SERVER=http://localhost:7990
export BITBUCKET_USERNAME=admin
export BITBUCKET_PASSWORD=admin