Skip to content

Commit

Permalink
chore: use gotest to have colored tests output
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau authored and aseure committed Mar 19, 2018
1 parent 1290509 commit f3d66ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go:
before_install:
- mkdir -p /home/travis/gopath/{src,bin,pkg}
- curl https://glide.sh/get | sh
- go get -u github.com/rakyll/gotest

install:
- make deps
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ deps:
test: test-unit

test-unit:
go test -v ./$(PROJECT)
gotest -v ./$(PROJECT)

coverage:
go list -f '{{if gt (len .TestGoFiles) 0}}"go test -covermode count -coverprofile {{.Name}}.coverprofile -coverpkg ./... {{.ImportPath}}"{{end}}' ./... | xargs -I {} bash -c {}
Expand Down

0 comments on commit f3d66ff

Please sign in to comment.