Skip to content

Commit

Permalink
add coverall ci
Browse files Browse the repository at this point in the history
  • Loading branch information
firemiles committed Jan 31, 2020
1 parent 311cbd5 commit 915b21b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
language: go
services:
- docker
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out ./... || echo go test failed
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
- make
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Bifrost

[![Build Status](https://semaphoreci.com/api/v1/firemiles/bifrost-3/branches/master/shields_badge.svg)](https://semaphoreci.com/firemiles/bifrost-3)
[![Build Status](https://travis-ci.com/firemiles/bifrost.svg?branch=master)](https://travis-ci.com/firemiles/bifrost)
[![Coverage Status](https://coveralls.io/repos/github/firemiles/bifrost/badge.svg?branch=master)](https://coveralls.io/github/firemiles/bifrost?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/firemiles/bifrost)](https://goreportcard.com/report/github.com/firemiles/bifrost)

In Norse mythology, Bifröst is a burning rainbow bridge that reaches between Midgard (Earth) and Asgard, the realm of the gods
Expand Down

0 comments on commit 915b21b

Please sign in to comment.