mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-21 20:36:03 +03:00
[improvement] coverage
This commit is contained in:
parent
b4cceb213e
commit
76436cc054
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,6 +21,7 @@ _testmain.go
|
||||
*.exe
|
||||
*.test
|
||||
*.prof
|
||||
coverage.txt
|
||||
|
||||
# IDE's files
|
||||
.idea
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user