From 4c14f34969961901e317f2e3d83548389020140a Mon Sep 17 00:00:00 2001 From: Soam Vasani Date: Sun, 4 Dec 2016 18:19:03 -0800 Subject: [PATCH 1/2] Install and run etcd on travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 47aa95fd..2deae06a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,13 @@ go: install: - go get github.com/Masterminds/glide + - curl -L https://github.com/coreos/etcd/releases/download/v3.0.15/etcd-v3.0.15-linux-amd64.tar.gz -o /tmp/etcd-v3.0.15-linux-amd64.tar.gz && mkdir -p /tmp/test-etcd && tar xzvf /tmp/etcd-v3.0.15-linux-amd64.tar.gz -C /tmp/test-etcd --strip-components=1 script: - cd ${TRAVIS_BUILD_DIR} - glide install - ./fission-bundle/build.sh - hack/verify-gofmt.sh + - /tmp/test-etcd/etcd - go test -v -i $(go list ./... | grep -v '/vendor/') - go test -v $(go list ./... | grep -v '/vendor/') From cd5325090b1a265726fd012fb6c967c2e17064b0 Mon Sep 17 00:00:00 2001 From: Soam Vasani Date: Sun, 4 Dec 2016 18:33:50 -0800 Subject: [PATCH 2/2] Background etcd in travis run script --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2deae06a..2acfc1b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,6 @@ script: - glide install - ./fission-bundle/build.sh - hack/verify-gofmt.sh - - /tmp/test-etcd/etcd + - /tmp/test-etcd/etcd & - go test -v -i $(go list ./... | grep -v '/vendor/') - go test -v $(go list ./... | grep -v '/vendor/')