From 57d4f28dbda2e98be703afae8a8827d6e714f8f2 Mon Sep 17 00:00:00 2001 From: "Avi (Ananya) Das" Date: Thu, 19 Feb 2015 16:58:37 -0600 Subject: [PATCH] Don't generate docs if it is a pull request --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: