[improvement] coverage

This commit is contained in:
Pavel 2019-10-16 16:42:05 +03:00
parent b4cceb213e
commit 76436cc054
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ _testmain.go
*.exe
*.test
*.prof
coverage.txt
# IDE's files
.idea

View File

@ -4,8 +4,12 @@ go:
- '1.9'
- '1.10'
- '1.11'
- '1.12'
- '1.13'
before_install:
- go get -v github.com/google/go-querystring/query
- go get -v github.com/h2non/gock
- cp .env.dist .env
script: go test -v ./...
script: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
after_success:
- bash <(curl -s https://codecov.io/bash)