Skip to content

Commit

Permalink
Phillip/codecov (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
phiphi282 authored and Cosmonawt committed Jun 7, 2018
1 parent 022bfc4 commit 8c0218d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: go
go:
- "1.8"
- "1.9"
- "1.10.x"

notifications:
Expand All @@ -20,4 +18,7 @@ install:
- dep ensure

script:
- go test -v -race -cover ./...
- go test -v -race -cover -coverprofile=coverage.txt ./...

after_success:
- bash <(curl -s https://codecov.io/bash)
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# backend [![Build Status](https://travis-ci.org/eduboard/backend.svg?branch=master)](https://travis-ci.org/eduboard/backend)
# backend [![Build Status](https://travis-ci.org/eduboard/backend.svg?branch=master)](https://travis-ci.org/eduboard/backend) [![codecov](https://codecov.io/gh/eduboard/backend/branch/master/graph/badge.svg)](https://codecov.io/gh/eduboard/backend)

The backend for eduBoard, written in Go with [httprouter](https://github.com/julienschmidt/httprouter) and MongoDB.

## Installing
Expand Down
5 changes: 5 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
comment:
layout: "dfiles"
behavior: default
requires_change: false

0 comments on commit 8c0218d

Please sign in to comment.