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
|
||||
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