language: go

go:
  - 1.3
  - 1.2

install:
  - go get code.google.com/p/go.tools/cmd/cover
  - ./hack/install-etcd.sh
  - ./hack/verify-gofmt.sh
  - ./hack/verify-boilerplate.sh
  - ./hack/install-std-race.sh
  - ./hack/build-go.sh
  - go get ./contrib/podex

script:
  - KUBE_TIMEOUT='-timeout 60s' ./hack/test-go.sh
  - PATH=$HOME/gopath/bin:./third_party/etcd/bin:$PATH ./hack/test-cmd.sh
  - PATH=$HOME/gopath/bin:./third_party/etcd/bin:$PATH ./hack/test-integration.sh
  - ./hack/benchmark-go.sh

notifications:
  irc: "chat.freenode.net#google-containers"
