issue #2790:Open travis support

This commit is contained in:
samuele3hu 2013-12-10 18:26:10 +08:00
parent 89c079009b
commit cc2323b636
1 changed files with 5 additions and 5 deletions

View File

@ -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