Skip to content

Commit

Permalink
ci: add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Jan 2, 2018
1 parent c1c70b3 commit 2a93dfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ script:
- make realclean && make examples SWAGGER_CODEGEN="java -jar $HOME/local/swagger-codegen-cli.jar"
- if (go version | grep -q 1.8) && [ -z "${GATEWAY_PLUGIN_FLAGS}" ]; then test -z "$(git status --porcelain)" || (git status; git diff; exit 1); fi
- env GLOG_logtostderr=1 go test -race -v github.com/grpc-ecosystem/grpc-gateway/...
- if (go version | grep -q devel) && [ -z "${GATEWAY_PLUGIN_FLAGS}" ]; then env GLOG_logtostderr=1 go test -coverprofile=coverage.txt -covermode=atomic -coverpkg=all -v github.com/grpc-ecosystem/grpc-gateway/...; fi
- make lint
- sh -c 'cd examples/browser && node ./node_modules/gulp/bin/gulp'
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
global:
- "PATH=$PATH:$HOME/local/bin"
Expand Down

0 comments on commit 2a93dfe

Please sign in to comment.