More Restrains to Docs Generator

- Run Doc Generator only on master branch
This commit is contained in:
Jay Patel
2015-02-19 17:31:47 -06:00
parent 57d4f28dbd
commit 5e2ad80f45

View File

@@ -19,7 +19,7 @@ script:
- phpunit
after_success:
- php vendor/bin/coveralls -v -c .coveralls.yml
- if [ $TRAVIS_PHP_VERSION = '5.6' ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then sh generate-api.sh; fi
- if [ $TRAVIS_PHP_VERSION = '5.6' ] && [ $TRAVIS_BRANCH = 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ]; then sh generate-api.sh; fi
notifications:
email:
recipients: