Skip to content

Commit

Permalink
Only attempt coveralls after build success
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Shah committed Apr 6, 2016
1 parent 68207ef commit 616693d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ cache:
install:
- make dependencies
script:
- make coveralls
- make test
- make lint
after_success:
- make coveralls
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ test:
go test -race $(PKGS)

.PHONY: coveralls
coveralls: test
goveralls -service=travis-ci
coveralls:
goveralls -service=travis-ci .

.PHONY: bench
BENCH ?= .
Expand Down

0 comments on commit 616693d

Please sign in to comment.