From e74ef3a802640b9a790bae131a7a0b2e64ccba56 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Mon, 29 Jun 2020 10:15:42 +0900 Subject: [PATCH] Generate API doc on tag only Because it doesn't need to be run on every PR and documenting only release is exactly what we want --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 05e964a1..7a17dd93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ jobs: - php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml - stage: API documentations - if: branch = master + if: tag is present php: 7.4 before_script: - curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar