File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ dist: trusty
88git :
99 depth : 3
1010
11- cache : yarn
12-
1311notifications :
1412 email : false
1513 slack :
@@ -21,6 +19,12 @@ branches:
2119 - master
2220 - " /^v[0-9\\ .]+/"
2321
22+ cache :
23+ yarn : true
24+ directories :
25+ - node_modules
26+ - " ${TRAVIS_BUILD_DIR}/.work/cache"
27+
2428stages :
2529 - name : check
2630 if : branch = master and tag IS blank and type IN (pull_request, api)
9397 - GH_PAGES_TRACKING_ID=UA-78163306-3
9498 script : skip
9599 before_deploy :
96- - source tests/bin/deploy/env.sh
97- - bash tests/bin/deploy/gh-pages.sh
100+ - git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci
101+ - bash travis-ci/bin/prepare.sh
102+ - source travis-ci/bin/deploy/env.sh
103+ - bash travis-ci/bin/deploy/gh-pages.sh
98104 deploy :
99105 provider : pages
100106 skip_cleanup : true
You can’t perform that action at this time.
0 commit comments