You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by du...@apache.org on 2018/01/28 07:09:34 UTC
[incubator-openwhisk-wskdeploy] branch go-fmt created (now 360edae)
This is an automated email from the ASF dual-hosted git repository.
dubeejw pushed a change to branch go-fmt
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git.
at 360edae Go format source code - Fail Traivs if source code is not formatted properly
This branch includes the following new commits:
new 360edae Go format source code - Fail Traivs if source code is not formatted properly
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
dubeejw@apache.org.
[incubator-openwhisk-wskdeploy] 01/01: Go format source code - Fail
Traivs if source code is not formatted properly
Posted by du...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dubeejw pushed a commit to branch go-fmt
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git
commit 360edae6e39fd9d9325b1f73e0f06d6045d31100
Author: dubeejw <jw...@us.ibm.com>
AuthorDate: Sun Jan 28 02:08:49 2018 -0500
Go format source code
- Fail Traivs if source code is not formatted properly
---
.travis.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index f297d3c..3c24eeb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,9 @@ install:
- go get -u github.com/golang/lint/golint
- go get -u github.com/stretchr/testify
- go get -u github.com/tools/godep
+before_script:
+- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
+- test -z "$(gofmt -s -l $(echo $GO_FILES))"
script:
- echo $TRAVIS
- echo $TRAVIS_PULL_REQUEST
--
To stop receiving notification emails like this one, please contact
dubeejw@apache.org.