summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.travis.yml3
-rwxr-xr-xCIbuild.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 26e74c1b2..84b963a89 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,9 @@ before_install:
install:
# g++4.8 and clang
- sudo apt-get install -qq g++-4.8
+
+ # lua, needed for style checking and possibly later on for bindings generation
+ - sudo apt-get install -qq lua5.1
# g++4.8
- if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; export CC="gcc-4.8"; fi
diff --git a/CIbuild.sh b/CIbuild.sh
index 5d95f88a6..755dc7daa 100755
--- a/CIbuild.sh
+++ b/CIbuild.sh
@@ -7,6 +7,9 @@ export MCSERVER_BUILD_ID=$TRAVIS_JOB_NUMBER
export MCSERVER_BUILD_DATETIME=`date`
cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1;
+cd src
+lua CheckBasicStyle.lua
+cd ..
make -j 2;
make -j 2 test;
cd MCServer/;