You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.
- find . -type d | xargs -L 1 $HOME/gopath/bin/golint
- LINTED=$(find . -type d | xargs -L 1 $HOME/gopath/bin/golint | wc -l); if [ $LINTED -gt 0 ]; then echo "golint - $LINTED statements not up to spec, please run golint and follow the suggestions." && exit 1; fi
- go test ./...
after_script:
- FIXED=$(go fmt ./... | wc -l); if [ $FIXED -gt 0 ]; then echo "gofmt - $FIXED file(s) not formatted correctly, please run gofmt to fix this." && exit 1; fi