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