5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-26 04:21:38 +00:00

Add go fmt test again to travis

This commit is contained in:
Wim 2018-11-07 20:32:39 +01:00
parent a1bf37e457
commit 141a42a75b

View File

@ -32,7 +32,7 @@ before_script:
# flunk the build and immediately stop. It's sorta like having # flunk the build and immediately stop. It's sorta like having
# set -e enabled in bash. # set -e enabled in bash.
script: 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 test -v -race $PKGS # Run all the tests with the race detector enabled
# - go vet $PKGS # go vet is the official Go static analyzer # - go vet $PKGS # go vet is the official Go static analyzer
- megacheck $PKGS # "go vet on steroids" + linter - megacheck $PKGS # "go vet on steroids" + linter