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 1
1
dist : trusty
2
2
sudo : false
3
3
4
- language : node_js
4
+ addons :
5
+ apt :
6
+ packages :
7
+ - lua5.2
8
+
9
+ language : c
5
10
6
- before_install :
7
- - npm install -g luamin
8
- - git checkout ./bin/travis-test.sh
9
11
install :
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[@]};
17
17
do
18
18
SRC_NAME=$f
19
19
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
21
21
done
22
22
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