mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
test using proper Gopath
This commit is contained in:
parent
9745faa243
commit
0ce5a08690
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user