sudo: false | |
language: go | |
go: | |
- 1.4 | |
before_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 | |
# not yet https://github.com/travis-ci/travis-ci/issues/2318 | |
os: | |
- linux | |
# - osx | |
notifications: | |
email: false |