Skip to content

Commit

Permalink
Enabling a code-coverage report on Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rican7 committed Jul 12, 2016
1 parent e7232b1 commit 56c896e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ go:

sudo: false

before_install:
# Install tools necessary to report code-coverage to Coveralls.io
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover

install:
# Get all imported packages
- make install-deps install-deps-dev
Expand All @@ -22,6 +27,10 @@ script:
# Run tests
- make test

after_success:
# Report our code-coverage to Coveralls.io
- goveralls -service=travis-ci

matrix:
allow_failures:
- go: tip
Expand Down

0 comments on commit 56c896e

Please sign in to comment.