Wireshark-commits: [Wireshark-commits] master-3.0 a557ddd: travis: improve cache handling on Window

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 02 Oct 2019 21:55:56 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a557dddd60d973d2e06aa60fbd017209c7fd68f5
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

a557ddd by Peter Wu (peter@xxxxxxxxxxxxx):

    travis: improve cache handling on Windows
    
    The Travis casher Bash implementation for Windows has bugs. The
    workarounds only slow down the build further. Given the lack of feedback
    on the casher bugs from Travis CI, let's try to improve it. Hopefully
    this will avoid stalls during the cache step.
    
    The "cd .." and "cd build" hack is required due to an annoying bug:
    https://travis-ci.community/t/caching-is-broken-after-directory-changes/2279
    
    Change-Id: Iae62aa7e9ef78815d240b91199acfe21549c1af7
    Reviewed-on: https://code.wireshark.org/review/32023
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 45f55ad8acc89f2090b707e133ae7555c4237973)
    Reviewed-on: https://code.wireshark.org/review/34688
    

Actions performed:

    from  e6335c9   travis: avoid aborting the build on slow Qt installations
     add  a557ddd   travis: improve cache handling on Windows


Summary of changes:
 .travis.yml                   | 16 ++++----
 tools/travis-cache-windows.sh | 86 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+), 9 deletions(-)
 create mode 100755 tools/travis-cache-windows.sh