Skip to content

Commit

Permalink
Why do this twice?
Browse files Browse the repository at this point in the history
  • Loading branch information
deadprogram committed Feb 17, 2016
1 parent f31e78c commit d25e319
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
PACKAGES=('gobot' 'gobot/api' 'gobot/platforms/firmata/client' 'gobot/platforms/intel-iot/edison' 'gobot/sysfs' $(ls ./platforms | sed -e 's/^/gobot\/platforms\//'))
EXITCODE=0

go test -cover github.com/hybridgroup/gobot

echo "mode: set" > profile.cov
touch tmp.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
if [ $? -ne 0 ]
then
EXITCODE=1
Expand Down

0 comments on commit d25e319

Please sign in to comment.