You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/02/16 03:36:56 UTC

incubator-weex git commit: [all] test for ci from circle to travis

Repository: incubator-weex
Updated Branches:
  refs/heads/test-ci [created] beca79056


[all] test for ci from circle to travis


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

Branch: refs/heads/test-ci
Commit: beca7905617fcfc94b494f4f72c56a97e2b13a0b
Parents: d1d396e
Author: Jinjiang <zh...@me.com>
Authored: Thu Feb 16 11:36:49 2017 +0800
Committer: Jinjiang <zh...@me.com>
Committed: Thu Feb 16 11:36:49 2017 +0800

----------------------------------------------------------------------
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/beca7905/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 70bfbdb..c018b48 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,2 +1,7 @@
 language: objective-c
-script: xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6'
\ No newline at end of file
+before_script:
+  - npm install
+script:
+  - npm run build
+  - npm run test
+  - xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6'