diff --git a/.travis.yml b/.travis.yml index 0b25cff718..e8d1e49c04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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