This repository has been archived by the owner on Feb 8, 2021. It is now read-only.
forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
49 lines (42 loc) · 1.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
sudo: required
services:
- docker
dist: trusty
language: go
matrix:
include:
- go: 1.6
install:
- sudo apt-get install libseccomp-dev
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kubernetes
- cd $HOME/gopath/src/k8s.io/kubernetes
- export LOG_LEVEL=4
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/k8s.io/kubernetes
- export PATH=$GOPATH/bin:./third_party/etcd:$PATH
- export KUBE_GOVERALLS_BIN=$GOPATH/bin/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/tools/godep
- go get github.com/mattn/goveralls
- go get github.com/jstemmer/go-junit-report
- ./hack/install-protoc.sh
- ./hack/install-etcd.sh
- travis_wait 30 ./hack/build-go.sh
- travis_wait 30 godep go install ./...
- ./hack/verify-gofmt.sh
- ./hack/verify-boilerplate.sh
- ./hack/verify-description.sh
- ./hack/verify-flags-underscore.py
- ./hack/verify-codecgen.sh
- ./hack/verify-codegen.sh
- ./hack/verify-generated-docs.sh
- ./hack/verify-generated-swagger-docs.sh
- ./hack/verify-swagger-spec.sh
script:
- cd $HOME/gopath/src/k8s.io/kubernetes
# Disable test-go.sh because of travis timeout (50 mins)
# - ./hack/test-go.sh
- sudo PATH=$GOPATH/bin:./third_party/etcd:$PATH ./hack/test-cmd.sh
notifications:
slack:
secure: fUsnnU0AlBqHxea4h1asZerpYVwLGpqTlZ4APD2Q8EqG3WChN/O74CR/lyTDceSvnjmEoOcxLc/ETXvZ3FrjEAc9ZUxdPcfl7InKYSU9dWzsRCwZLwCnmaphlXFCi6VaPkUvS0J3JPyUS3mF/rNa3l63CTEzp9ni0WFETztZXr16kbTbZJ9FqZ4XYdtSh883ZPc0DPgfSH/iO4nsHGBDFyemW60rccTtNLS0Kac7UyGf16nOo63KWnvtvrsgN+hIYuu5R1xUu+aMRyO3FJ/4jzfhcplKuN1+SJxvvVYpmywuML3FulDhHIuqjOXMYgqCJtug33XNvgXNoInMfAQT4Be3WOtjVg50sx7RCTxwe3uleWd35SAzZcAFl12JGQmnA0IkDoWu6ti8Gc0f1RpqB02Nj4nscaNHYpZOPM32JAji4iMviy00hXhIZkLeTjnQny2FVLPCrTPDGhxJhFIRVF2PtbtcmjrkiUdO2p7K5Cpgl6Ix66557A+8UpSrdv8LollNTG5+/mhy8hLuHf+PrJcsKf09qLAYFhiD2VF+gZxUX94wC2QJQw4iLmMMdHy94GhJprIrCLo5z2u4M8IjIpvjhSsXtJcmmQXsmAEQAtawIVID57A7Z5VCQV3QtxIpdr6dGiuNfXtSxXQ16AQHYpvLn092MiokAag1aktSZTw=