Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
update danger from 0.8 to 9.0 And --danger-id
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmswindmill committed Jul 30, 2019
1 parent 11dd0e5 commit d25582d
Show file tree
Hide file tree
Showing 3 changed files with 1,536 additions and 1,498 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -134,7 +134,7 @@ script:
npm run danger -- run --dangerfile ./dangerfile-jsfm.js
;;
"danger" )
npm run danger -- run --dangerfile ./dangerfile.js
npm run danger -- run --dangerfile ./dangerfile.js -i danger
;;
"ios" )
hasIosFile=$(npm run danger -- run --dangerfile ./dangerfile-ios.js)
Expand Down Expand Up @@ -172,7 +172,7 @@ script:
-max-priority-2=15000 \
-max-priority-3=15000 > oclint.log
export COMMAND="cat ios/sdk/oclint.log | grep -i \"P[1|2]\""
cd ../../ && npm run danger -- run --dangerfile ./dangerfile-output.js
cd ../../ && npm run danger -- run --dangerfile ./dangerfile-output.js -i oclint
fi
fi
Expand All @@ -194,7 +194,7 @@ script:
if [[ ("$TEST_SUITE" = "code_format") ]]; then
echo "exec code format"
bundle exec danger
bundle exec danger --danger_id=codeFormat
fi
notifications:
Expand Down

0 comments on commit d25582d

Please sign in to comment.