Merge pull request #1687 from mc-server/StyleCheckTravis
Style check travis
This commit is contained in:
commit
8730643720
@ -14,6 +14,9 @@ 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
|
||||
|
||||
|
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user