language: go

os:
  - linux
  - osx

go:
  - 1.2.x
  - 1.3.x
  - 1.4
  - 1.5.x
  - 1.6.x
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - 1.11.x
  - 1.12.x
  - tip

matrix:
  exclude:
    - os: osx
      go: 1.2.x
    - os: osx
      go: 1.3.x
    - os: osx
      go: 1.4
    - os: osx
      go: 1.5.x
    - os: osx
      go: 1.6.x

notifications:
  email:
    on_success: change
    on_failure: always

language: go

os:
  - linux
  - osx

go:
  - 1.2.x
  - 1.3.x
  - 1.4
  - 1.5.x
  - 1.6.x
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - 1.11.x
  - 1.12.x
  - tip

matrix:
  allow_failures:
    - go: tip

  exclude:
    - os: osx
      go: 1.2.x
    - os: osx
      go: 1.3.x
    - os: osx
      go: 1.4
    - os: osx
      go: 1.5.x
    - os: osx
      go: 1.6.x

notifications:
  email:
    on_success: change
    on_failure: always

Allow Go tip to fail on TravisCI
Allow Go tip to fail on TravisCI
