diff --git a/.travis.yml b/.travis.yml index e3e53e6..f9fd3c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ script: - phpunit after_success: - php vendor/bin/coveralls -v -c .coveralls.yml -- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then sh generate-api.sh; fi +- if [ $TRAVIS_PHP_VERSION = '5.6' ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then sh generate-api.sh; fi notifications: email: recipients: