language: go

go:
  - stable
  - master

before_script:
  - go get -u github.com/golang/lint

script:
  - test -z $(gofmt -l .)
  - test -z $(golint ./...)
  - go vet ./...
  - go test -v ./...

matrix:
  allow_failures:
    - go: master

dist: trusty
sudo: false

language: go

go:
  - stable
  - master

before_script:
  - go get -u github.com/golang/lint

script:
  - test -z $(gofmt -l .)
  - test -z $(golint ./...)
  - go vet ./...
  - go test -v ./...

matrix:
  allow_failures:
    - go: master

Switch to Ubuntu 14.04 Travis image
Switch to Ubuntu 14.04 Travis image
