From cbd9cbaf71ec23d19c77fc14c4cf772782faaf14 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 11 Mar 2014 17:42:57 +0800 Subject: [PATCH] travis builds all tests projects for Android. --- tools/travis-scripts/run-script.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/travis-scripts/run-script.sh b/tools/travis-scripts/run-script.sh index a8d124e752..28c2f1888e 100755 --- a/tools/travis-scripts/run-script.sh +++ b/tools/travis-scripts/run-script.sh @@ -68,17 +68,17 @@ elif [ "$PLATFORM"x = "android"x ]; then cd $COCOS2DX_ROOT # Create a directory for temporary objects - # mkdir android_build_objs + mkdir android_build_objs - # PROJECTS=("test-cpp" "test-javascript" "test-lua") - # for i in ${PROJECTS[*]}; do - # ln -s $COCOS2DX_ROOT/android_build_objs $COCOS2DX_ROOT/tests/$i/proj.android/obj - # done + PROJECTS=("cpp-empty-test" "cpp-tests" "lua-empty-test/project" "lua-tests/project") + for i in ${PROJECTS[*]}; do + ln -s $COCOS2DX_ROOT/android_build_objs $COCOS2DX_ROOT/tests/$i/proj.android/obj + done # Build all samples echo "Building all samples ..." cd $COCOS2DX_ROOT/build - ./android-build.py -n "NDK_BUG=0 -j10" testcpp + ./android-build.py -n "NDK_BUG=0 -j10" all elif [ "$PLATFORM"x = "nacl"x ]; then export NACL_SDK_ROOT=$HOME/bin/nacl_sdk/pepper_canary