From 4e6d6838e02bf0f5e8253ec53ea06d7431411ad4 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Mon, 27 Apr 2020 18:29:05 +0900 Subject: [PATCH] Deploy doc only when tags on master --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 2a0d7cf6..a9b8c84a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,7 @@ jobs: - php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml - stage: API documentations + if: tag is present AND branch = master php: 7.4 before_script: - curl -O https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar