aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2020-02-06 22:59:32 +0100
committerRichard Weickelt <richard@weickelt.de>2020-03-17 09:37:10 +0000
commit19befa84eded82c98e0cd27b97af087cc7ff5074 (patch)
tree3bb1300dc06d7c7c12a9729d7b33861e2778469b /.travis.yml
parent77e8cca24ee4c39da5f2cbafbc316f9ac9e8ac80 (diff)
Update windowsservercore Docker image
Qt is updated to 5.12.5, MSVC is updated to 2017. Qbs is updated to 1.15.0. Docker-compose is used for managing the image. A unique tag name is used instead of the generic windowsservercore tag to be always able to refer to a specific version. Docker-compose is now used for managing the image. Change-Id: Ia5733992e7692561b1a6e74a4ac2ea3a7a01c4d8 Reviewed-by: Richard Weickelt <richard@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 53af0534b..4add585f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -116,6 +116,36 @@ jobs:
osx_image: xcode9.4
if: branch = master
+ - &build-on-windows-with-docker
+ stage: Build Qbs and and run autotests
+ name: With Qbs on Windows with Docker (Visual Studio 2017)
+ if: branch = master
+ os: windows
+ services: docker
+ env:
+ CLCACHE_DIR="${HOME}/.ccache"
+ before-install:
+ - curl -sLo "/c/Program Files/Docker/docker-compose.exe" https://github.com/docker/compose/releases/download/1.25.3/docker-compose-Windows-x86_64.exe
+ - docker-compose pull windows
+ before_script:
+ - docker-compose run --rm windows clcache -s
+ script:
+ - >
+ docker-compose run --rm windows qbs build
+ -p dist
+ qbs.buildVariant:release
+ modules.cpp.compilerWrapper:clcache
+ modules.qbsbuildconfig.enableBundledQt:true
+ modules.qbsbuildconfig.enableProjectFileUpdates:true
+ modules.qbsbuildconfig.enableUnitTests:true
+ modules.cpp.treatWarningsAsErrors:true
+ project.withDocumentation:true
+ project.withExamples:true
+ config:release-64 profile:qt64
+ config:release profile:qt
+ after_script:
+ - docker-compose run --rm windows clcache -s
+
- &build-on-windows
stage: Build Qbs and and run autotests
name: With Qbs on Windows (Visual Studio 2017)