2018-07-14 08:48:22 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
export MINIO_ACCESS_KEY=FJDSJ
|
|
|
|
export MINIO_SECRET_KEY=DSG643HGDS
|
|
|
|
|
|
|
|
mkdir -p /tmp/minio
|
2018-08-03 18:30:46 +00:00
|
|
|
minio server --quiet /tmp/minio &>/dev/null &
|
2018-07-14 08:48:22 +00:00
|
|
|
sleep 5
|
2018-08-03 18:30:46 +00:00
|
|
|
cd $GOPATH/src/github.com/ctrox/csi-s3
|
|
|
|
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
2018-07-29 12:49:35 +00:00
|
|
|
go test github.com/ctrox/csi-s3/pkg/s3 -cover
|