Skip to content

Commit

Permalink
# If applied, this commit will ... (50 characters)
Browse files Browse the repository at this point in the history
Make the Travis build break on golint errors

# Explain what and why this commit is doing and not how - 72 characters.
# Message body can be multi line even multi paragraph.

# Provide links to any relevant tickets
# Closes: #123
# Fixed: #456, #789
  • Loading branch information
VMitov committed May 4, 2017
1 parent 25c357c commit d132dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ install:
before_script:
- if [ "$FULL" = "true" ]; then go vet $(go list ./... | grep -v vendor); fi;
- if [ "$FULL" = "true" ]; then test -z "$(gofmt -s -l . 2>&1 | grep -v vendor | tee /dev/stderr)"; fi;
- if [ "$FULL" = "true" ]; then go list ./... | grep -v /vendor/ | xargs -L1 golint; fi;
- if [ "$FULL" = "true" ]; then test -z "$(go list ./... 2>&1 | grep -v /vendor/ | xargs -L1 golint | tee /dev/stderr)"; fi;

script:
- if [ "$FULL" = "true" ]; then goveralls -service=travis-ci; else go test $(go list ./... | grep -v /vendor/); fi;
Expand Down

0 comments on commit d132dd9

Please sign in to comment.