diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-20 23:42:51 +0900 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-21 13:52:46 +0000 |
commit | dff4fe6a8455e8d0845f037209c6d7762179ad4b (patch) | |
tree | eef4e7dca9446868583498baf3402053dc90b615 | |
parent | 0ce6f93de1cbf702704b776101abb92b3af1cb62 (diff) |
Enable cpp.treatWarningsAsErrors when building Qbs on Travis
Change-Id: I45a6bbc31a5be8c20b0fe7877e1fc42833e68ddd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | scripts/build-qbs-with-qbs.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ddf2f1449..7178e82ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ jobs: - <<: *build-on-bionic name: With Qbs on Ubuntu bionic (mingw32_w64) script: - - docker-compose run --rm ${SERVICE} qbs build profile:qt-mingw32_w64 + - docker-compose run --rm ${SERVICE} qbs build profile:qt-mingw32_w64 modules.cpp.treatWarningsAsErrors:true - &build-on-macos stage: Build Qbs and and run autotests diff --git a/scripts/build-qbs-with-qbs.sh b/scripts/build-qbs-with-qbs.sh index 6b6f6d2a9..229f5d691 100755 --- a/scripts/build-qbs-with-qbs.sh +++ b/scripts/build-qbs-with-qbs.sh @@ -53,6 +53,7 @@ BUILD_OPTIONS="\ modules.qbsbuildconfig.enableAddressSanitizer:true \ modules.qbsbuildconfig.enableProjectFileUpdates:true \ modules.qbsbuildconfig.enableUnitTests:true \ + modules.cpp.treatWarningsAsErrors:true \ project.withExamples:true \ ${BUILD_OPTIONS} " |