You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/09/20 17:49:03 UTC

[08/11] incubator-weex git commit: * [test] update danger and use

* [test] update danger and use


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

Branch: refs/heads/0.16-dev
Commit: 3d0616a338118af4118cb0bef1d623e69f9bfbdd
Parents: d265452
Author: gurisxie <27...@qq.com>
Authored: Wed Sep 20 23:52:44 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Wed Sep 20 23:52:44 2017 +0800

----------------------------------------------------------------------
 .travis.yml  | 8 ++++----
 package.json | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3d0616a3/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 8a13834..0ac814a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,20 +66,20 @@ before_script:
 script:
   - |
     if [[ $TEST_SUITE = "android" ]]; then
-      npm run danger -- --dangerfile=./dangerfile-android.js
+      npm run danger -- run --dangerfile ./dangerfile-android.js
       cd $TRAVIS_BUILD_DIR
     fi
   - |
     if [[ $TEST_SUITE = "ios" ]]; then
-      npm run danger -- --dangerfile=./dangerfile-ios.js
+      npm run danger -- run --dangerfile ./dangerfile-ios.js
     fi
   - |
     if [[ $TEST_SUITE = "jsfm" ]]; then
-      npm run danger -- --dangerfile=./dangerfile-jsfm.js
+      npm run danger -- run --dangerfile ./dangerfile-jsfm.js
     fi
   - |
     if [[ $TEST_SUITE = "danger" ]]; then
-      npm run danger -- --dangerfile=./dangerfile.js
+      npm run danger -- run --dangerfile ./dangerfile.js
     fi
   - |
     if [[ $TEST_SUITE = "release" ]]; then

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3d0616a3/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 828d9af..87f5429 100644
--- a/package.json
+++ b/package.json
@@ -122,7 +122,7 @@
     "chromedriver": "^2.21.2",
     "cross-spawn": "^4.0.0",
     "css-loader": "^0.26.1",
-    "danger": "^0.18.0",
+    "danger": "^1.2.0",
     "dateformat": "^2.0.0",
     "eslint": "^2.11.1",
     "eslint-plugin-flowtype": "^2.30.4",