gorush/docker/testing.sh

15 lines
381 B
Bash
Executable File

#!/bin/sh
#
set -e
cd ${GOPATH}/src/github.com/appleboy/gorush
sed -i"" -e "s/localhost/redis/g" config/config.yml
sed -i"" -e "s/localhost/redis/g" config/config.go
sed -i"" -e "s/localhost/redis/g" config/config_test.go
sed -i"" -e "s/localhost/redis/g" gorush/status_test.go
sed -i"" -e "s/localhost/redis/g" storage/redis/redis_test.go
make install
make coverage
make report