diff options
author | Richard Weickelt <richard@weickelt.de> | 2020-05-06 14:11:25 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2020-05-11 08:04:19 +0000 |
commit | a3c97374d0e06e0e2a23b22c10450ede48bcb478 (patch) | |
tree | 88dfaafcf462b13370e7f6e1003d3ff1bac949a5 /.travis.yml | |
parent | 62215625dde98f6a6457159b4e3ef975d7014259 (diff) |
Do not reinstall Qt if already installed
The server download.qt.io is frequently overloaded. Instead of
re-installing Qt every time, try to check if the desired packages are
already installed. Utilize Travis' caching meachanism for Qt
installations.
Change-Id: I4ff1c05b93fd1f0224a7ea4e4869998a21478bfc
Reviewed-by: Richard Weickelt <richard@weickelt.de>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 1818ff595..fad47ca10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ # DOCKER_USERNAME # language: cpp -cache: ccache git: submodules: false @@ -15,6 +14,11 @@ env: - QT_VERSION=5.12.6 - QTCREATOR_VERSION=4.10.2 +cache: + directories: + - ${QT_INSTALL_DIR} + - ~/.ccache + stages: - name: Build Qbs and and run autotests |