updated to exclude fmt'ing on /vendor/

This commit is contained in:
Peter Miron
2017-06-08 11:41:20 -04:00
parent f2a9cc8cb0
commit 70778e9ec5

View File

@@ -13,7 +13,7 @@ install:
before_script:
- EXCLUDE_VENDOR=$(go list ./... | grep -v "/vendor/")
- go build
- $(exit $(go fmt ./... | wc -l))
- $(exit $(go fmt $EXCLUDE_VENDOR | wc -l))
- go vet $EXCLUDE_VENDOR
- gosimple $EXCLUDE_VENDOR
- misspell -error -locale US .