diff options
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..c4c697f --- /dev/null +++ b/.build.yml @@ -0,0 +1,23 @@ +image: debian/stable +packages: +- git +- lua-busted +- luajit +sources : +- https://git.sr.ht/~gpcf/advtrains + +tasks: + +- run_unit_tests : | + cd advtrains/advtrains + busted + cd ../advtrains_interlocking + busted + cd ../serialize_lib + busted + +- test_po_files : | + cd advtrains/advtrains + for f in po/*.po; do + luajit -e 'require("poconvert").from_string("advtrains", io.input():read("*a"))' < $f + done |