Wireshark-commits: [Wireshark-commits] master 5ed8360: travis: initial Windows support with non-int

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 12 Jan 2019 21:56:53 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5ed8360c21ccc5c26ca47eb59b175634415ae11f
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

5ed8360 by Peter Wu (peter@xxxxxxxxxxxxx):

    travis: initial Windows support with non-interactive Qt installer
    
    The current preview release of Windows support on Travis lacks many
    packages (like Qt and Python 3) and is very much tied to git-bash
    (unlike AppVeyor which has a more native Windows experience).
    
    Several workarounds were necessary, such as reimplementing refreshenv,
    setting CMAKE_PROGRAM_PATH) and setting a supported language. See also
    https://travis-ci.community/t/feedback-from-windows-integration-for-a-cmake-qt-c-python-perl-project/1706
    
    I wrote the Qt installer script originally for Qt 5.6, ported it to Qt
    5.9.5 and finally updated it for 5.12, some comments could be outdated.
    
    Duration as measured for one x64 build:
    - 3m00s - restore cache (Qt and wireshark-libs)
    - 2m22s - choco install
    - 0m8s - pip install
    - 2m20s - cmake
    - 18m5s - build all
    - 0m20s - build test-programs
    - 5m34s - pytest -v
    - 2m46s - store cache (Qt and wireshark-libs)
    - (total duration about 36m)
    - (installing Qt 5.12.0 from scratch would add 7m)
    
    Cache size for extracted x64 build: wireshark-libs is 187M, Qt 604M.
    (179M and 516M for 32-bit respectively.)
    
    Change-Id: I9881ab6439e9ca99efad16a6c861862ab9d35252
    Reviewed-on: https://code.wireshark.org/review/31454
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  fd8ddba   wiretap: remove dependency on version_info
     add  5ed8360   travis: initial Windows support with non-interactive Qt installer


Summary of changes:
 .travis.yml                   | 63 +++++++++++++++++++++++++++--
 tools/qt-installer-windows.qs | 92 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 152 insertions(+), 3 deletions(-)
 create mode 100644 tools/qt-installer-windows.qs