language: go
sudo: false
matrix:
  fast_finish: true
  include:
    - go: 1.11.x
      env: TEST_METHOD=goveralls
    - go: 1.10.x
    - go: tip
    - go: 1.9.x
    - go: 1.8.x
    - go: 1.7.x
    - go: 1.6.x
    - go: 1.5.x
  allow_failures:
    - go: tip
    - go: 1.9.x
    - go: 1.8.x
    - go: 1.7.x
    - go: 1.6.x
    - go: 1.5.x
script: ./test.sh $TEST_METHOD
notifications:
  email:
    on_success: never
