language: go

matrix:
  include:
    - os: linux
      dist: trusty
      go: 1.5.x
    - os: linux
      dist: trusty
      go: 1.6.x
    - os: linux
      dist: trusty
      go: 1.7.x
    - os: linux
      dist: trusty
      go: 1.8.x
    - os: linux
      dist: trusty
      go: 1.9.x
    - os: linux
      dist: precise
      go: 1.9.x
    - os: linux
      dist: precise
      go: 1.10.x
    - os: osx
      go: 1.10.x

script:
  - go install ./...
  - go test -v ./...
