language: go
sudo: false
addons:
apt:
packages:
- moreutils
go:
- 1.4.3
- 1.6.3
- 1.7
script:
- export GOMAXPROCS=$(nproc)
- gofmt -s -l . | ifne false
- go build ./...
- go test -race ./...