faas/contrib/ci.sh
John McCabe 89878f0c8a Migrate from alexellis org to openfaas
Note, not all `alexellis/github` references should be changed, there are
a number of repos which are not part of the openfaas org, this commit
excludes those.

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-10-04 09:18:06 +01:00

25 lines
466 B
Bash

#!/bin/bash
docker swarm init --advertise-addr=127.0.0.1
./deploy_stack.sh
cd ..
echo $GOPATH
mkdir -p $GOPATH/src/github.com/openfaas/
cp -r faas $GOPATH/src/github.com/openfaas/
git clone https://github.com/openfaas/certify-incubator
cp -r certify-incubator $GOPATH/src/github.com/openfaas/
cd $GOPATH/src/github.com/openfaas/faas/gateway/tests/integration && \
go test -v
cd $GOPATH/src/github.com/openfaas/certify-incubator && \
make test
exit 0