build steps for cache servers

This commit is contained in:
bergquist
2019-03-07 17:16:08 +01:00
parent daa3b17951
commit dbc1315d6f
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
function exit_if_fail {
command=$@
echo "Executing '$command'"
eval $command
rc=$?
if [ $rc -ne 0 ]; then
echo "'$command' returned $rc."
exit $rc
fi
}
echo "running redis and memcache tests"
#set -e
#time for d in $(go list ./pkg/...); do
time exit_if_fail go test -tags="redis memcached" ./pkg/infra/distcache/...
#done