language: go

os:
  - linux
  - osx

go:
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - master

env:
  global:
    - DEP_VERSION=0.4.1

before_install:
  # Download the dep binary to the bin folder in $GOPATH
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -sL https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $GOPATH/bin; curl -sL https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-darwin-amd64 -o $GOPATH/bin/dep; fi
  - chmod +x $GOPATH/bin/dep;

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/860de7e374c89032863a
    on_success: change
    on_failure: always
    on_start: never

  email:
    on_success: change
    on_failure: always

script: make get-deps debug test

language: go

os:
  - linux
  - osx

go:
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - tip

env:
  global:
    - DEP_VERSION=0.4.1

before_install:
  # Download the dep binary to the bin folder in $GOPATH
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -sL https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $GOPATH/bin; curl -sL https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-darwin-amd64 -o $GOPATH/bin/dep; fi
  - chmod +x $GOPATH/bin/dep;

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/860de7e374c89032863a
    on_success: change
    on_failure: always
    on_start: never

  email:
    on_success: change
    on_failure: always

script: make get-deps debug test

Switch from Go tip to Go master on TravisCI
Switch from Go tip to Go master on TravisCI
