Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 9e5839f

Browse files
stefanotorresiweierophinney
authored andcommitted
move doc theme install step into script block to allow caching
1 parent 59a6250 commit 9e5839f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ install:
8989
script:
9090
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
9191
- if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi
92+
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then travis_retry curl -sSL https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh | bash ; fi
9293

9394
after_script:
9495
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer upload-coverage ; fi
9596

9697
after_success:
97-
- if [[ $DEPLOY_DOCS == "true" ]]; then travis_retry curl -sSL https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh | bash ; fi
9898
- if [[ $DEPLOY_DOCS == "true" ]]; then ./zf-mkdoc-theme/deploy.sh ; fi

0 commit comments

Comments
 (0)