sudo: false
language: go

go:
  - 1.4.1

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

os:
  - linux
  - osx

notifications:
  email: false
