From 675a36968263152118a12a5c456447c59b7c396b Mon Sep 17 00:00:00 2001 From: devashish Date: Fri, 20 Mar 2015 13:28:45 -0700 Subject: [PATCH 1/2] adding shippable.yml --- shippable.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 shippable.yml diff --git a/shippable.yml b/shippable.yml new file mode 100644 index 00000000000..8a47aa21ed8 --- /dev/null +++ b/shippable.yml @@ -0,0 +1,34 @@ +language: go + +go: + - 1.4 + - 1.3 + +build_image: shipimg/ubuntu1204_go:latest + +before_install: + - source $HOME/.gvm/scripts/gvm; + - if [[ $SHIPPABLE_GO_VERSION == "tip" ]]; then gvm install tip; gvm use tip; fi + - if [[ $SHIPPABLE_GO_VERSION == *release* ]]; then gvm install release; gvm use release; fi + - if [[ $SHIPPABLE_GO_VERSION =~ [0-9].[0-9] ]]; then gvm install go$SHIPPABLE_GO_VERSION; gvm use go$SHIPPABLE_GO_VERSION; fi + - export GOPATH=$SHIPPABLE_GOPATH + +install: + - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi + - go get github.com/mattn/goveralls + - ./hack/travis/install-etcd.sh + - ./hack/verify-gofmt.sh + - ./hack/verify-boilerplate.sh + - ./hack/verify-description.sh + - ./hack/travis/install-std-race.sh + - ./hack/build-go.sh + - GOPATH=$PWD/Godeps/_workspace:$GOPATH go install ./... + +script: + - KUBE_RACE="-race" KUBE_COVER="y" KUBE_GOVERALLS_BIN="$HOME/gopath/bin/goveralls" KUBE_TIMEOUT='-timeout 300s' KUBE_COVERPROCS=8 ./hack/test-go.sh -- -p=2 + - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH ./hack/test-cmd.sh + - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH ./hack/verify-gendocs.sh + - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH ./hack/test-integration.sh + +notifications: + irc: "chat.freenode.net#google-containers" From 7e2532c5a7529be0538bd089f72b4e68cd694240 Mon Sep 17 00:00:00 2001 From: devashish Date: Wed, 25 Mar 2015 14:34:45 -0700 Subject: [PATCH 2/2] rebasing with latest master and updating shippable.yml --- shippable.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/shippable.yml b/shippable.yml index 8a47aa21ed8..f0ba9fe2fdc 100644 --- a/shippable.yml +++ b/shippable.yml @@ -1,11 +1,16 @@ +sudo: false + language: go -go: - - 1.4 - - 1.3 - build_image: shipimg/ubuntu1204_go:latest +matrix: + include: + - go: 1.4 + env: KUBE_TEST_API_VERSIONS="v1beta1" + - go: 1.3 + env: KUBE_TEST_API_VERSIONS="v1beta3" + before_install: - source $HOME/.gvm/scripts/gvm; - if [[ $SHIPPABLE_GO_VERSION == "tip" ]]; then gvm install tip; gvm use tip; fi @@ -25,10 +30,10 @@ install: - GOPATH=$PWD/Godeps/_workspace:$GOPATH go install ./... script: - - KUBE_RACE="-race" KUBE_COVER="y" KUBE_GOVERALLS_BIN="$HOME/gopath/bin/goveralls" KUBE_TIMEOUT='-timeout 300s' KUBE_COVERPROCS=8 ./hack/test-go.sh -- -p=2 + - KUBE_RACE="-race" KUBE_COVER="y" KUBE_GOVERALLS_BIN="$HOME/gopath/bin/goveralls" KUBE_TIMEOUT='-timeout 300s' KUBE_COVERPROCS=8 KUBE_TEST_API_VERSIONS=$KUBE_TEST_API_VERSIONS ./hack/test-go.sh -- -p=2 - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH ./hack/test-cmd.sh - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH ./hack/verify-gendocs.sh - - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH ./hack/test-integration.sh + - PATH=$HOME/gopath/bin:./third_party/etcd:$PATH KUBE_TEST_API_VERSIONS=$KUBE_TEST_API_VERSIONS ./hack/test-integration.sh notifications: irc: "chat.freenode.net#google-containers"