From 10070f9b90c1849886b9df3936a23522505078f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Sun, 30 Sep 2018 11:06:28 +0200 Subject: [PATCH] Separate documentation deployment --- .travis.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09e9b1f..49349be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,13 +19,18 @@ after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover -before_deploy: - - bin/daux generate - -deploy: - provider: pages - local_dir: static - skip_cleanup: true - github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard - on: - branch: master \ No newline at end of file +jobs: + include: + - stage: "Deploy Documentation" + php: "7.2" + script: skip + before_deploy: + - composer install + - bin/daux generate + deploy: + provider: pages + local_dir: static + skip_cleanup: true + github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard + on: + branch: master