[travis-ci] Speed up android build.

This commit is contained in:
James Chen 2013-06-11 11:31:24 +08:00
parent 7cccf1db03
commit 0d7b7819c2
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ fi
build_android()
{
cd $COCOS2DX_ROOT/samples/$1/$2/proj.android
ln -s ../../../../android_build_objs obj
./build_native.sh
}
@ -23,6 +24,8 @@ if [ "$PLATFORM"x = "android"x ]; then
cd $COCOS2DX_ROOT/tools/travis-scripts
./generate-jsbindings.sh
cd $COCOS2DX_ROOT
mkdir android_build_objs
build_android Cpp HelloCpp
build_android Cpp TestCpp
build_android Cpp AssetsManagerTest