Skip to content

Commit

Permalink
Update coverage settings in Makefile and travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Dec 19, 2014
1 parent 5cdba38 commit 9f90b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test:
cover:
echo "mode: count" > profile.cov ; \
for package in $(PACKAGES) ; do \
go test -a -covermode=count -coverprofile=tmp.cov github.com/hybridgroup/$$package ; \
go test -a -coverprofile=tmp.cov github.com/hybridgroup/$$package ; \
cat tmp.cov | grep -v "mode: count" >> profile.cov ; \
done ; \
rm tmp.cov ; \
Expand Down
2 changes: 1 addition & 1 deletion scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "mode: count" > profile.cov
touch tmp.cov
for package in "${PACKAGES[@]}"
do
go test -covermode=count -coverprofile=tmp.cov github.com/hybridgroup/$package
go test -a -coverprofile=tmp.cov github.com/hybridgroup/$package
if [ $? -ne 0 ]
then
EXITCODE=1
Expand Down

0 comments on commit 9f90b34

Please sign in to comment.