commit bb3db7c0ec16858eccb9874a8b61794bba612063
Author: Wim <wim@42.be>
Date: Wed Nov 07 20:32:39 2018 +0000
diff --git a/.travis.yml b/.travis.yml
index a51918b..c490871 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -327 +327 @@ before_script:
# flunk the build and immediately stop. It's sorta like having
# set -e enabled in bash.
script:
- #- test -z $(gofmt -s -l $GO_FILES) # Fail if a .go file hasn't been formatted with gofmt
+ - test -z "$(go fmt ./...)";)" # Fail if a .go file hasn't been formatted with gofmt
- go test -v -race $PKGS # Run all the tests with the race detector enabled
# - go vet $PKGS # go vet is the official Go static analyzer
- megacheck $PKGS # "go vet on steroids" + linter