Merge pull request #45 from platform9/run-etcd-in-travis
Install and run etcd on travis
This commit is contained in:
@@ -8,11 +8,13 @@ go:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- go get github.com/Masterminds/glide
|
- 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:
|
script:
|
||||||
- cd ${TRAVIS_BUILD_DIR}
|
- cd ${TRAVIS_BUILD_DIR}
|
||||||
- glide install
|
- glide install
|
||||||
- ./fission-bundle/build.sh
|
- ./fission-bundle/build.sh
|
||||||
- hack/verify-gofmt.sh
|
- hack/verify-gofmt.sh
|
||||||
|
- /tmp/test-etcd/etcd &
|
||||||
- go test -v -i $(go list ./... | grep -v '/vendor/')
|
- go test -v -i $(go list ./... | grep -v '/vendor/')
|
||||||
- go test -v $(go list ./... | grep -v '/vendor/')
|
- go test -v $(go list ./... | grep -v '/vendor/')
|
||||||
|
|||||||
Reference in New Issue
Block a user