[wp-meta] [Making WordPress.org] #3760: Reliability issues with Travis theme download tests for WP-CLI

Making WordPress.org noreply at wordpress.org
Mon Aug 13 03:04:39 UTC 2018


#3760: Reliability issues with Travis theme download tests for WP-CLI
-------------------------------+---------------------
 Reporter:  schlessera         |       Owner:  (none)
     Type:  defect             |      Status:  new
 Priority:  normal             |   Milestone:
Component:  Theme Directory    |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+---------------------

Comment (by netweb):

 Maybe try wrapping the  wp-cli commands with the Travis CI function
 `travis_retry` if possible:

 https://docs.travis-ci.com/user/common-build-problems/#travis_retry

 > ''"For commands which do not have a built in retry feature, use the
 travis_retry function to retry it up three times if the return code is
 non-zero:"''

 > `travis_retry wp theme install --force twentytwelve --version=1.0`

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3760#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list