Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
try again on coveralls w/ more cov on a branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbrainard committed Sep 3, 2019
1 parent 74458f4 commit 231672e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .travis.yml
Expand Up @@ -6,19 +6,19 @@ go:
- '1.12'

# COVERALLS
#install:
# - go get golang.org/x/tools/cmd/cover
# - go get github.com/mattn/goveralls
#script:
# - go test -v -covermode=count -coverprofile=coverage.out ./...
# - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

# CODECOV
before_install:
- go get -t -v ./...

install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- go test -v -covermode=count -coverprofile=coverage.out ./...
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

after_success:
- bash <(curl -s https://codecov.io/bash)
# CODECOV
#before_install:
# - go get -t -v ./...
#
#script:
# - go test -race -coverprofile=coverage.txt -covermode=atomic ./...
#
#after_success:
# - bash <(curl -s https://codecov.io/bash)

0 comments on commit 231672e

Please sign in to comment.