aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-07-03 10:55:40 +0200
committerY. Wang <yw05@forksworld.de>2023-03-23 20:06:02 +0100
commitbd20da95ec5e1c113a57b7ac2c75d08b87cbf793 (patch)
tree303ffb3e9c9029c7fe90af0b78e09a54a44c113f
parent98c37108762c6d7c9f1d691b84f49bfa65b81b28 (diff)
downloadadvtrains-bd20da95ec5e1c113a57b7ac2c75d08b87cbf793.tar.gz
advtrains-bd20da95ec5e1c113a57b7ac2c75d08b87cbf793.tar.bz2
advtrains-bd20da95ec5e1c113a57b7ac2c75d08b87cbf793.zip
Remove test world script from CI
The system involving the test world has not been updated for a significant amount of time and will likely be replaced with unittests in the future.
-rw-r--r--.build.yml32
1 files changed, 0 insertions, 32 deletions
diff --git a/.build.yml b/.build.yml
index 1a51e58..8ea9c21 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,10 +1,6 @@
image: debian/stable
packages:
- git
-- curl
-- minetest-server
-- unzip
-- wget
- lua5.1
- luarocks
sources :
@@ -12,23 +8,6 @@ sources :
tasks:
-- download_mt_server: |
- mkdir bin
- wget https://lifomaps.de/advtrains-test/builtin.tar.gz
- tar xf builtin.tar.gz
- curl https://lifomaps.de/advtrains-test/minetestserver -o ~/bin/minetestserver
- chmod +x ~/bin/minetestserver
-- install_mt_game : |
- curl -L https://github.com/minetest/minetest_game/archive/master.zip -o master.zip
- mkdir -p .minetest/games/
- cd .minetest/games
- unzip ../../master.zip
- mv minetest_game-master minetest_game
-- install_test_world: |
- mkdir -p .minetest/worlds/
- curl https://lifomaps.de/advtrains-test/testworld.tar.gz -o ~/testworld.tar.gz
- cd .minetest/worlds/
- tar xf ../../testworld.tar.gz
- install_mineunit : |
for i in {busted,luacov}; do
luarocks install --local --lua-version 5.1 $i >/dev/null
@@ -43,14 +22,3 @@ tasks:
~/.luarocks/bin/mineunit -r
sed -n '/^File/,$p' luacov.report.out
done
-- activate_test_env: |
- cd advtrains
- git merge --no-commit origin/luaatcdebug
-- install_advtrains : |
- mkdir .minetest/mods
- cp -r advtrains .minetest/mods
- cd .minetest/mods
- git clone https://git.bananach.space/basic_trains.git/
-- run_test_world: |
- echo "bind_address = 127.0.0.1" > minetest.conf
- ~/bin/minetestserver --port 31111 --gameid minetest_game --config ~/minetest.conf --world ~/.minetest/worlds/advtrains_testworld