---
language: go
sudo: false
notifications:
  email: false
jobs:
  fast_finish: true
  allow_failures:
    - go: master
  include:
    - stage: test
      go: 1.8.x
      before_install:
        - go get -u github.com/golang/dep/cmd/dep
      install: dep ensure
      script: go test -race -v $(go list ./... | grep -v /vendor/) 
      after_success:
        - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash

---
language: go
sudo: false
notifications:
  email: false
jobs:
  fast_finish: true
  allow_failures:
    - go: master
  include:
    - stage: test
      go: 1.9.x
      before_install:
        - go get -u github.com/golang/dep/cmd/dep
      install: dep ensure
      script: go test -race -v $(go list ./... | grep -v /vendor/) 
      after_success:
        - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash

Upgrade CI to Go 1.9
:green_heart: Upgrade CI to Go 1.9
