PULL REQUEST的情况下不要生成badge

This commit is contained in:
darksun 2018-10-27 17:04:53 +08:00
parent 73f8e8cdd5
commit e31bb4aa86

View File

@ -1,7 +1,7 @@
language: c
script:
- sh ./scripts/check.sh
- ./scripts/badge.sh
- sh -c '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./scripts/badge.sh'
branches:
only:
- master