Skip to content

Commit

Permalink
Move go get and go vet into bin/test-unit
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Hicks <[email protected]>
  • Loading branch information
Andrea Law committed Aug 5, 2014
1 parent 9966e1d commit bcf563e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ let "result+=$?"
$bin/test-unit -q
let "result+=$?"

echo -e "\n Vetting packages for potential issues..."
$bin/go vet github.com/cloudfoundry/bosh-agent/...
let "result+=$?"

echo -e "\n Checking with golint..."
$bin/golint
let "result+=$?"

echo -e "\n Running build script to confirm everything compiles..."
$bin/build
let "result+=$?"
Expand Down
8 changes: 8 additions & 0 deletions bin/test-unit
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ bin=$(dirname $0)
# Travis randomly kills go builds when using -race
race=$([ "$TRAVIS" != "true" ] && echo "-race")

echo -e "\n Vetting packages for potential issues..."
$bin/go vet github.com/cloudfoundry/bosh-agent/...
let "result+=$?"

echo -e "\n Checking with golint..."
$bin/golint
let "result+=$?"

echo -e "\n Installing ginkgo..."
$bin/go install github.com/onsi/ginkgo/ginkgo
let "result+=$?"
Expand Down

0 comments on commit bcf563e

Please sign in to comment.