Wireshark-commits: [Wireshark-commits] master 45f55ad: travis: improve cache handling on Windows
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 15 Feb 2019 10:02:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=45f55ad8acc89f2090b707e133ae7555c4237973
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

45f55ad 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>
    

Actions performed:

    from  0c00b16   travis: avoid aborting the build on slow Qt installations
     add  45f55ad   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