Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
os: linux
dist: bionic
go_import_path: github.com/algorand/go-algorand
language: go
language: minimal

# Don't build tags
if: tag IS blank
Expand Down
4 changes: 2 additions & 2 deletions scripts/travis/codegen_verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function runGoFmt() {
}

function runGoLint() {
warningCount=$("$GOPATH"/bin/golint $(GO111MODULE=off go list ./... | grep -v /vendor/ | grep -v /test/e2e-go/) | wc -l | tr -d ' ')
warningCount=$("$GOPATH"/bin/golint $(go list ./... | grep -v /vendor/ | grep -v /test/e2e-go/) | wc -l | tr -d ' ')
if [ "${warningCount}" = "0" ]; then
return 0
fi
Expand All @@ -54,7 +54,7 @@ function runGoLint() {
}

echo "Running go vet..."
go vet $(GO111MODULE=off go list ./... | grep -v /test/e2e-go/)
go vet $(go list ./... | grep -v /test/e2e-go/)

echo "Running gofmt..."
runGoFmt
Expand Down