hotfix(travis): don't write results for prs

This commit is contained in:
Yauhen Kirylau 2020-08-10 01:58:45 +02:00 committed by GitHub
parent ebfa9f3699
commit 3e0aaa5050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ script:
after_success:
- |
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
if [ -n "$GH_APIDOC_TOKEN" ]; then
set -e
commit_hash=$(git rev-parse --short HEAD)