integration test

This commit is contained in:
NatureFreshMilk 2019-09-16 08:43:59 +02:00
parent 33bec6aa55
commit 6198823793
2 changed files with 11 additions and 0 deletions

4
test/minetest.conf Normal file
View File

@ -0,0 +1,4 @@
secure.http_mods = mail
webmail.url = http://127.0.0.1:8080
webmail.key = myserverkey
webmail.disallow_banned_players = true

7
test/start.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
docker run --rm -it \
-v $(pwd)/minetest.conf:/etc/minetest/minetest.conf \
-v /tmp/mt:/var/lib/minetest/.minetest \
-v $(pwd)/../:/var/lib/minetest/.minetest/worlds/world/worldmods/mail_mod \
registry.gitlab.com/minetest/minetest/server:5.0.1