Skip to content

Commit

Permalink
Setup for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrownus committed Dec 1, 2016
1 parent b0c2de2 commit 3478433
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ go:
install:
- go get github.com/kardianos/govendor
- go get github.com/stretchr/testify/assert
- make test
- govendor sync

script:
- go test -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s https://codecov.io/bash)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![Build Status](https://img.shields.io/travis/slackhq/go-audit.svg?style=flat-square)](https://travis-ci.org/slackhq/go-audit)
[![codecov](https://codecov.io/gh/slackhq/go-audit/branch/master/graph/badge.svg)](https://codecov.io/gh/slackhq/go-audit)

## About

Expand Down

0 comments on commit 3478433

Please sign in to comment.