aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2020-05-08 09:09:36 +0200
committerRichard Weickelt <richard@weickelt.de>2020-05-20 16:41:37 +0000
commita43be24e46a2f64c5f94165cfe393038a2f8065a (patch)
treec76113d8e0e3a98d0f40d466673b78d7f034f33a /.travis.yml
parent92f289b66c19526046cddd4a4e7f6b8710401c1a (diff)
Travis: Generate debug information on macOS and Linux only
Generating debug information disables clcache on Windows and results in a 10 minutes longer build time. Change-Id: Ibd13c3017c60d09074ab22b1933acd9a331bd61e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8e9a46927..628700ecf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,7 +28,7 @@ jobs:
stage: Build Qbs and and run autotests
name: With Qbs on Ubuntu bionic (linux_gcc64)
env:
- BUILD_OPTIONS=modules.cpp.compilerWrapper:ccache
+ BUILD_OPTIONS="modules.cpp.compilerWrapper:ccache modules.qbs.debugInformation:true"
services:
- docker
before_script:
@@ -92,7 +92,7 @@ jobs:
env:
# Address sanitizer slows autotests down too much.
# We would hit the maximum build time on Travis.
- BUILD_OPTIONS="modules.qbsbuildconfig.enableAddressSanitizer:false modules.cpp.compilerWrapper:ccache"
+ BUILD_OPTIONS="modules.qbsbuildconfig.enableAddressSanitizer:false modules.cpp.compilerWrapper:ccache modules.qbs.debugInformation:true"
QMAKE_PATH=${QT_INSTALL_DIR}/${QT_VERSION}/clang_64/bin/qmake
PATH="${QT_INSTALL_DIR}/Qt Creator.app/Contents/MacOS:${PATH}"
QBS_BUILD_PROFILE=qt