Don't generate docs if it is a pull request

This commit is contained in:
Avi (Ananya) Das
2015-02-19 16:58:37 -06:00
parent e36b0ef0e3
commit 57d4f28dbd

View File

@@ -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: