mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
14 lines
212 B
Bash
14 lines
212 B
Bash
|
#!/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
|
||
|
|