Skip to content

Commit

Permalink
coverage directly in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
arminc committed Sep 24, 2017
1 parent 85f22e7 commit 8e4fb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ install:

script:
- make release
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

deploy:
provider: releases
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,4 @@ integration: pull dbosx clair
integrationlinux: pull db clair
go test -v -covermode=count -coverprofile=coverage.out -ip $(shell ifconfig eth0 | grep "inet addr" | cut -d ':' -f 2 | cut -d ' ' -f 1) -tags integration

coverage:
goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

release: integrationlinux build coverage cross
release: integrationlinux build cross

0 comments on commit 8e4fb30

Please sign in to comment.