sudo: false
dist: trusty

language: go

matrix:
  include:
  - go: 1.4.3
    env: GOVET=false
  - go: 1.5.4
    env: GOVET=true
  - go: 1.6.3
    env: GOVET=true
  - go: 1.7.3
    env: GOVET=true

install:
  - # Do nothing.

script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d -s .)
  - if [ "$GOVET" = "true" ]; then go tool vet -structtags=false .; fi

sudo: false
dist: trusty

language: go

matrix:
  include:
  - go: 1.4.3
    env: GOVET=false
  - go: 1.5.4
    env: GOVET=true
  - go: 1.6.4
    env: GOVET=true
  - go: 1.7.6
    env: GOVET=true
  - go: 1.8.3
    env: GOVET=true

install:
  - # Do nothing.

script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d -s .)
  - if [ "$GOVET" = "true" ]; then go tool vet -structtags=false .; fi

Add a build for Go 1.8.
Add a build for Go 1.8.
