aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 72dbc89d056fcd91c70ab4b3a2999cdf43ec64ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: debian/stable
packages: 
- git
- lua-busted
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