mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-23 02:42:20 +00:00
Add coverall
This commit is contained in:
parent
1951586cdc
commit
c7d2a4aea8
@ -4,7 +4,5 @@ go:
|
||||
- 1.12.x
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
before_install:
|
||||
- make update-deps
|
||||
install:
|
||||
- make
|
||||
- make test
|
10
Makefile
10
Makefile
@ -1,5 +1,11 @@
|
||||
all:
|
||||
go test ./...
|
||||
all: install test
|
||||
|
||||
install:
|
||||
go install github.com/nxshock/signaller/cmd
|
||||
update-deps:
|
||||
go mod tidy
|
||||
test: update-deps
|
||||
go get golang.org/x/tools/cmd/cover
|
||||
go get github.com/mattn/goveralls
|
||||
go test ./... -v -covermode=count -coverprofile=coverage.out
|
||||
$HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
|
||||
|
Loading…
Reference in New Issue
Block a user