Skip to content

Commit

Permalink
Upgrade go test version (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLongmuir authored Sep 15, 2020
1 parent 939310c commit a217aa7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- "1.11"
- "1.15.2"
go_import_path: github.com/improbable-eng/grpc-web
addons:
hosts:
Expand Down
9 changes: 2 additions & 7 deletions go/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,8 @@ function goimports_all {

function govet_all {
echo "- Running govet"
ret=0
for i in $(print_real_go_files); do
output=$(go tool vet -all=true -tests=false ${i})
ret=$(($ret | $?))
echo -n ${output}
done;
if [[ $ret -ne 0 ]]; then
go vet -all=true -tests=false ./...
if [[ $? -ne 0 ]]; then
echo "ERROR: govet errors detected, please commit/fix them."
exit 1
fi
Expand Down
2 changes: 0 additions & 2 deletions lint-all.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

set -e

echo "Linting go sources"
cd go && . ./lint.sh && cd ..

Expand Down

0 comments on commit a217aa7

Please sign in to comment.