docker-minecraft-server/tests/test.sh
2020-07-11 14:09:08 -05:00

13 lines
212 B
Bash
Executable file

#!/bin/bash
cd $(dirname $0)
failed=false
args="-f docker-compose.test.yml"
docker-compose $args run sut || failed=true; docker-compose $args logs mc
docker-compose $args down -v
if $failed; then
exit 1
fi