Skip to content

Commit cc21673

Browse files
committed
Travis now tests compilation, ldata updated to latest, build.sh tests removed
1 parent c1c6dbe commit cc21673

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ if [ "$1" = "driver" ]; then
306306
if [ ! -d "$root/jit" ]; then
307307
mkdir -p $root/jit
308308
cp -r luajit-2.0/src/jit/* $root/jit
309-
ls $root/jit
310309
fi
311310
else
312311
if [ ! -d "lua-all/$2" ]; then
@@ -351,7 +350,6 @@ if [ "$1" = "package" ]; then
351350
if [ ! -d "$root/jit" ]; then
352351
mkdir -p $root/jit
353352
cp -r luajit-2.0/src/jit/* $root/jit
354-
ls $root/jit
355353
fi
356354
else
357355
if [ ! -d "lua-all/$2" ]; then

src/ldata.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666

6767
const char HELP_MESSAGE[] =
68-
"LuaConsole | Version: 1/22/2019\n\n"
68+
"LuaConsole | Version: 2/10/2019\n\n"
6969
#if LUA_VERSION_NUM <= 501
7070
LUA_VERSION " | " LUA_COPYRIGHT "\n"
7171
#else
@@ -105,7 +105,7 @@ const char HELP_MESSAGE[] =
105105
"- \t\tProcesses input from stdin\n"
106106
"-- \t\tStops processing parameters\n"
107107
#if defined(LUA_JIT_51)
108-
"-j \t\t [LuaJIT] Performs a control command loads an extension module\n"
108+
"-j \t\t [LuaJIT] Performs a control command/loads an extension module\n"
109109
"-O \t\t [LuaJIT] Sets an optimization level/parameters\n"
110110
"-b \t\t [LuaJIT] Saves or lists bytecode\n"
111111
#endif

travis.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ pushd bin/Debug
5959
echo "Test 1"
6060
./luaw -e "print('Everything went okay')"
6161

62+
# Code coverage
63+
gcov *.gc*
64+
bash <(curl -s https://codecov.io/bash)
65+
6266
echo "Test 2"
6367
./luaw -w luajit -e "print('Everything went okay')"
6468

@@ -73,10 +77,12 @@ pushd bin/Debug
7377

7478
echo "Test 6"
7579
./luaw res/testing.lua -Dtest=5 -n a b c
80+
echo "Test 6 end"
7681

7782
echo "Test 7"
7883
./luaw -b res/testing.lua testing.luac
7984
./luaw testing.luac -Dtest=5 -n a b c
85+
echo "Test 7 end"
8086

8187
echo "Test 8"
8288
./luaw -w luajit -c -o testing.luac "res/testing.lua"
@@ -100,9 +106,6 @@ pushd bin/Debug
100106

101107
popd
102108

103-
# Code coverage
104-
gcov *.gc*
105-
bash <(curl -s https://codecov.io/bash)
106109

107110
# Update cache if needed
108111
cp -f -r -u lua-all $HOME/cistore

0 commit comments

Comments
 (0)