From 0ce5a08690657fb9475f52283d4c44d4da5db088 Mon Sep 17 00:00:00 2001 From: Alex Ellis <alexellis2@gmail.com> Date: Mon, 25 Sep 2017 21:08:37 +0100 Subject: [PATCH] test using proper Gopath --- contrib/ci.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/contrib/ci.sh b/contrib/ci.sh index f3bb70a9..24bf8e57 100644 --- a/contrib/ci.sh +++ b/contrib/ci.sh @@ -4,12 +4,21 @@ docker swarm init --advertise-addr=$(hostname -i) ./deploy_stack.sh -#cd gateway/tests/integration -#go test -v -#cd ../../../ +cd .. + +echo $GOPATH + +mkdir -p $GOPATH/go/src/github.com/openfaas/ +cp -r faas $GOPATH/go/src/github.com/openfaas/ git clone https://github.com/openfaas/certify-incubator -cd certify-incubator && \ + +cp -r certify-incubator $GOPATH/go/src/github.com/openfaas/ + +cd $GOPATH/go/src/github.com/openfaas/faas/ && \ + go test -v + +cd $GOPATH/go/src/github.com/openfaas/certify-incubator && \ make test exit 0 -- GitLab