Update .travis.yml

This commit is contained in:
Xingyu.Wang 2018-10-27 21:46:11 +08:00 committed by GitHub
parent e31bb4aa86
commit 74be3aadc9
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
- sh -c '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./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