mirror of https://github.com/axmolengine/axmol.git
issue #2790:Open travis support
This commit is contained in:
parent
89c079009b
commit
cc2323b636
|
@ -50,7 +50,7 @@ elif [ "$PLATFORM"x = "android"x ]; then
|
|||
# Build all samples
|
||||
echo "Building all samples ..."
|
||||
cd $COCOS2DX_ROOT/build
|
||||
./android-build.py -n "NDK_BUG=0 -j10" hellocpp testcpp simplegame testjavascript
|
||||
./android-build.py -n "NDK_BUG=0 -j10" all
|
||||
|
||||
# Build template
|
||||
# echo "Building template ..."
|
||||
|
@ -74,14 +74,14 @@ elif [ "$PLATFORM"x = "linux"x ]; then
|
|||
cd $COCOS2DX_ROOT/build
|
||||
mkdir -p linux-build
|
||||
cd linux-build
|
||||
cmake ../.. -DBUILD_LIBS_LUA=OFF -DBUILD_HelloLua=OFF -DBUILD_TestLua=OFF
|
||||
cmake ../..
|
||||
make -j10
|
||||
cd ../../template/multi-platform-cpp
|
||||
cmake .
|
||||
make -j10
|
||||
# cd ../multi-platform-lua
|
||||
# cmake .
|
||||
# make -j10
|
||||
cd ../multi-platform-lua
|
||||
cmake .
|
||||
make -j10
|
||||
|
||||
elif [ "$PLATFORM"x = "emscripten"x ]; then
|
||||
# Generate binding glue codes
|
||||
|
|
Loading…
Reference in New Issue