language: go
go_import_path: github.com/kubeflow/mpi-operator

go:
- 1.11.4

before_install:
- DEP_RELEASE_TAG=v0.5.0 curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure

install:
- go get -t -d ./...
- go get github.com/mattn/goveralls
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install

script:
- ./hack/verify-codegen.sh
- go build -o mpi-operator.v1alpha1 github.com/kubeflow/mpi-operator/cmd/mpi-operator.v1alpha1
- go build -o mpi-operator.v1alpha2 github.com/kubeflow/mpi-operator/cmd/mpi-operator.v1alpha2
- gometalinter --config=linter_config.json --vendor ./...
- goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/kubeflow/*/*_generated.go"

notifications:
  webhooks: https://www.travisbuddy.com/
  on_success: never
language: go
go_import_path: github.com/kubeflow/mpi-operator

go:
- 1.11.4

before_install:
- DEP_RELEASE_TAG=v0.5.0 curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure

install:
- go get -t -d ./...
- go get github.com/mattn/goveralls
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install

script:
- ./hack/verify-codegen.sh
- go build -o mpi-operator.v1alpha1 github.com/kubeflow/mpi-operator/cmd/mpi-operator.v1alpha1
- go build -o mpi-operator.v1alpha2 github.com/kubeflow/mpi-operator/cmd/mpi-operator.v1alpha2
- gometalinter --config=linter_config.json --vendor ./...
- goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/kubeflow/*/*_generated.go"

notifications:
  on_success: never

Remove Travis buddy as it spams PR conversations
Remove Travis buddy as it spams PR conversations