summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-11-07 20:32:39 +0100
committerWim <wim@42.be>2018-11-07 20:32:39 +0100
commit141a42a75b47b0a05f5b360ff5711819d3727a75 (patch)
treed56f8385c53af0bc8f1928bb19a0208ca1992628
parenta1bf37e4577b393bbc4fcaa0ca6d71ef3e7a3fee (diff)
downloadmatterbridge-msglm-141a42a75b47b0a05f5b360ff5711819d3727a75.tar.gz
matterbridge-msglm-141a42a75b47b0a05f5b360ff5711819d3727a75.tar.bz2
matterbridge-msglm-141a42a75b47b0a05f5b360ff5711819d3727a75.zip
Add go fmt test again to travis
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a51918bf..c4908717 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ 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