diff --git a/.gitignore b/.gitignore index 3245f80..2650cf3 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ _testmain.go *.exe *.test *.prof +coverage.txt # IDE's files .idea diff --git a/.travis.yml b/.travis.yml index 5d551ea..a2c5670 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)