diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..f91e5c1f --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,8 @@ +coverage: + status: + project: + default: + target: 40% + threshold: null + patch: false + changes: false diff --git a/.travis.yml b/.travis.yml index c0b08952..a4993ffe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,11 @@ install: script: - node -v - npm -v - - go test ./... + # Run tests + - go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./... + # Make - make build/static/index.html - make +after_success: + - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/README.md b/README.md index 5d66a011..64fa5bc0 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,18 @@ AdGuard.com | Wiki | Reddit | - Twitter + Twitter | + Telegram

Build status + + Code Coverage + + + Go Report Card + Latest release