Commit 763abecc authored by mixmasala's avatar mixmasala Committed by GitHub

Merge pull request #72 from claucece/master

Improve Makefile and travis file
parents 04902006 c60f666a
......@@ -9,6 +9,6 @@ install:
- go get -v -t ./...
script:
- go test -v ./internal/...
- go test -v ./voting/...
- go test -v ./nonvoting/...
- make test-internal
- make test-voting
- make test-nonvoting
......@@ -3,3 +3,19 @@ test:
lint:
golint ./...
test-internal:
go test -cover -v ./internal/...
test-voting:
go test -cover -v ./voting/...
# no tests here
test-nonvoting:
go test -cover -v ./nonvoting/...
coverage-file:
go test ./... -coverprofile=coverage.out
coverage-html:
go tool cover -html=coverage.out
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment