From 9ac0ebb0791851aea81ecc847802db5a39bfb6e7 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 5 Feb 2019 11:51:41 +0100 Subject: Cirrus: add vendor_check_task * Make sure that all vendored dependencies are in sync with the code and the vendor.conf by running `make vendor` with a follow-up status check of the git tree. * Vendor ginkgo and gomega to include the test dependencies. Signed-off-by: Chris Evic Signed-off-by: Valentin Rothberg --- test/README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'test') diff --git a/test/README.md b/test/README.md index fd72ecd00..90dcdfe3d 100644 --- a/test/README.md +++ b/test/README.md @@ -34,27 +34,14 @@ between Ginkgo and the Go test framework. ## Installing dependencies The dependencies for integration really consists of three things: * ginkgo binary -* ginkgo sources -* gomega sources The following instructions assume your GOPATH is ~/go. Adjust as needed for your environment. ### Installing ginkgo -Fetch and build ginkgo with the following command: +Build ginkgo and install it under $GOPATH/bin with the following command: ``` -GOPATH=~/go go get -u github.com/onsi/ginkgo/ginkgo -``` -Now install the ginkgo binary into your path: -``` -install -D -m 755 "$GOPATH"/bin/ginkgo /usr/bin/ -``` -You now have a ginkgo binary and its sources in your GOPATH. - -### Install gomega sources -The gomega sources can be simply installed with the command: -``` -GOPATH=~/go go get github.com/onsi/gomega/... +GOPATH=~/go make .install.ginkgo ``` # Integration Tests -- cgit v1.2.3-54-g00ecf