language: go
sudo: false

matrix:
  include:
    - go: 1.4
    - go: 1.5
    - go: 1.6
    - go: tip
  allow_failures:
    - go: tip

install:
  - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go get github.com/golang/lint/golint; fi

script:
  - go get -t -v $(go list ./... | grep -v '/vendor/')
  - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then diff -u <(echo -n) <(gofmt -d .); fi
  - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go vet $(go list ./... | grep -v '/vendor/'); fi
  - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then for package in $(go list ./... | grep -v '/vendor/'); do golint -set_exit_status $package; done; fi
  - go test -v -race $(go list ./... | grep -v '/vendor/')

notifications:
  email:
    recipients:
      - jamesog@cloudflare.com
      - msilverlock@cloudflare.com

language: go
sudo: false

matrix:
  include:
    - go: 1.4
    - go: 1.5
    - go: 1.6
    - go: 1.7
    - go: tip
  allow_failures:
    - go: tip

install:
  - if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then go get github.com/golang/lint/golint; fi

script:
  - go get -t -v $(go list ./... | grep -v '/vendor/')
  - if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then diff -u <(echo -n) <(gofmt -d .); fi
  - if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then go vet $(go list ./... | grep -v '/vendor/'); fi
  - if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then for package in $(go list ./... | grep -v '/vendor/'); do golint -set_exit_status $package; done; fi
  - go test -v -race $(go list ./... | grep -v '/vendor/')

notifications:
  email:
    recipients:
      - jamesog@cloudflare.com
      - msilverlock@cloudflare.com

Add Go 1.7 to Travis
Add Go 1.7 to Travis

Signed-off-by: Gábor Lipták <9e199222fac9dc9f83e67bca7cf6b1b7a7aed53e@gmail.com>
