You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/04/01 07:42:48 UTC

incubator-weex git commit: * [test] fix CI

Repository: incubator-weex
Updated Branches:
  refs/heads/0.12-dev 0cceaae4b -> 153e95bbd


* [test] fix CI


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/153e95bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/153e95bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/153e95bb

Branch: refs/heads/0.12-dev
Commit: 153e95bbd1dd13bbd63d5c07ac992ebb54588bb3
Parents: 0cceaae
Author: sospartan <so...@apache.org>
Authored: Sat Apr 1 15:42:36 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Sat Apr 1 15:42:36 2017 +0800

----------------------------------------------------------------------
 test/ci-funcs.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/153e95bb/test/ci-funcs.sh
----------------------------------------------------------------------
diff --git a/test/ci-funcs.sh b/test/ci-funcs.sh
index 671f8dd..c6d0fd6 100644
--- a/test/ci-funcs.sh
+++ b/test/ci-funcs.sh
@@ -33,7 +33,6 @@ function waitForEmulator {
 }
 
 function setup_cpt {
-    set -eu
     target_android='android'
     target_ios='ios'
     target_danger='danger'
@@ -87,7 +86,6 @@ function printEnvInfo {
 }
 
 function test_cpt {
-    set -eu
     echo 'cilog:start test ......'
 
     target_android='android'
@@ -106,6 +104,7 @@ function test_cpt {
         run_in_ci=true ./test/run.sh
     elif [ $target = $target_ios ]
     then
+        set -eu
         ./test/serve.sh 2&>1 > /dev/null &
         xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6' | XCPRETTY_JSON_FILE_OUTPUT=ios/sdk/xcodebuild.json xcpretty -f `xcpretty-json-formatter`
         run_in_ci=true ./test/run.sh ios