File tree Expand file tree Collapse file tree 3 files changed +10
-35
lines changed Expand file tree Collapse file tree 3 files changed +10
-35
lines changed Original file line number Diff line number Diff line change 11dist : trusty
22sudo : false
33
4- language : node_js
4+ addons :
5+ apt :
6+ packages :
7+ - lua5.2
8+
9+ language : c
510
6- before_install :
7- - npm install -g luamin
8- - git checkout ./bin/travis-test.sh
911install :
10- - ./bin/travis-test.sh
12+
13+ script : ./bin/build.sh
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ for f in ${MANIFEST[@]};
1717do
1818 SRC_NAME=$f
1919 OBJ_NAME=$( dirname ${f} ) /$( basename ${f} .lua) .luac
20- node -e " var luac = require('luac'); luac.buildToFileSync(' ${SRC_NAME} ', ' ${OBJ_NAME} '); "
20+ luac -o ${OBJ_NAME} ${SRC_NAME} || exit 1
2121done
2222
23+ echo -e " \e[1m\e[39m[\e[31mTEST SUCCESSFUL\e[39m]\e[21m All lua files built successfully!"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments