Merge pull request #27 from ipfs/feat/codecov

Use Codecov instead of Coveralls
This commit is contained in:
Jeromy Johnson
2017-07-03 16:33:39 -07:00
committed by GitHub
2 changed files with 19 additions and 16 deletions

View File

@@ -1,24 +1,24 @@
os:
- linux
- osx
sudo: false
language: go
go:
- 1.7
install: true
before_install:
- make deps
- 'tip'
install:
- go get github.com/whyrusleeping/gx
- go get github.com/whyrusleeping/gx-go
- gx install --global
script:
- go vet
- $GOPATH/bin/goveralls -service="travis-ci"
- gx test -v -race -coverprofile=coverage.txt -covermode=atomic .
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $GOPATH/src/gx
directories:
- $GOPATH/src/gx
notifications:
email: false
email: false

3
codecov.yml Normal file
View File

@@ -0,0 +1,3 @@
coverage:
range: "50...100"
comment: off