mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-09 12:11:03 +00:00
commit
4d5c2efcd8
@ -4,7 +4,5 @@ go:
|
|||||||
- 1.12.x
|
- 1.12.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
before_install:
|
|
||||||
- make update-deps
|
|
||||||
install:
|
install:
|
||||||
- make
|
- make test
|
10
Makefile
10
Makefile
@ -1,5 +1,11 @@
|
|||||||
all:
|
all: install test
|
||||||
go test ./...
|
|
||||||
|
install:
|
||||||
go install github.com/nxshock/signaller/cmd
|
go install github.com/nxshock/signaller/cmd
|
||||||
update-deps:
|
update-deps:
|
||||||
go mod tidy
|
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