Skip to content

Commit

Permalink
test: skip govet tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gyuho committed Feb 16, 2017
1 parent ae24914 commit 61eee5c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@ function fmt_tests {
exit 255
fi

echo "Checking govet..."
vetRes=$(go vet $TEST)
if [ -n "${vetRes}" ]; then
echo -e "govet checking failed:\n${vetRes}"
exit 255
fi

echo "Checking govet -shadow..."
for path in $FMT; do
vetRes=$(go tool vet -shadow ${path})
if [ -n "${vetRes}" ]; then
echo -e "govet checking ${path} failed:\n${vetRes}"
exit 255
fi
done
# echo "Checking govet..."
# vetRes=$(go vet $TEST)
# if [ -n "${vetRes}" ]; then
# echo -e "govet checking failed:\n${vetRes}"
# exit 255
# fi

# echo "Checking govet -shadow..."
# for path in $FMT; do
# vetRes=$(go tool vet -shadow ${path})
# if [ -n "${vetRes}" ]; then
# echo -e "govet checking ${path} failed:\n${vetRes}"
# exit 255
# fi
# done

echo "Checking for license header..."
licRes=$(for file in $(find . -type f -iname '*.go' ! -path './Godeps/*'); do
Expand Down

0 comments on commit 61eee5c

Please sign in to comment.