Setup Codecov (#235)
This commit is contained in:
+2
-5
@@ -13,9 +13,6 @@ script:
|
||||
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
|
||||
- ./test.sh
|
||||
- ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
|
||||
before_install:
|
||||
- go get github.com/axw/gocov/gocov
|
||||
- go get github.com/mattn/goveralls
|
||||
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
||||
|
||||
after_success:
|
||||
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
Explanation of what this pull request does.
|
||||
|
||||
More detailled description of the decisions being made and the reasons why (if the patch is non-trivial).
|
||||
More detailed description of the decisions being made and the reasons why (if the patch is non-trivial).
|
||||
|
||||
@@ -44,7 +44,7 @@ cp -R query/* src/github.com/pelletier/go-toml/query
|
||||
go build -o test_program_bin src/github.com/pelletier/go-toml/cmd/test_program.go
|
||||
|
||||
# Run basic unit tests
|
||||
go test github.com/pelletier/go-toml -covermode=count -coverprofile=coverage.out
|
||||
go test github.com/pelletier/go-toml -race -coverprofile=coverage.txt -covermode=atomic
|
||||
go test github.com/pelletier/go-toml/cmd/tomljson
|
||||
go test github.com/pelletier/go-toml/query
|
||||
|
||||
|
||||
Reference in New Issue
Block a user