Merge pull request #2870 from dumganhar/master

[travis-ci] Speed up android build. [master]
This commit is contained in:
James Chen 2013-06-10 20:51:24 -07:00
commit 71e038a869
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