Merge pull request #10920 from lujun9972/badge

PULL REQUEST的情况下不要生成badge
This commit is contained in:
Xingyu.Wang 2018-10-27 21:46:53 +08:00 committed by GitHub
commit 04a498aea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
language: c
script:
- sh ./scripts/check.sh
- ./scripts/badge.sh
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then sh ./scripts/check.sh; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sh ./scripts/badge.sh; fi'
branches:
only:
- master