Travis: Enable 'werror' for X11 and Android builds

They are currently warning-free, so let's keep it that way.
This commit is contained in:
Rémi Verschelde 2018-10-04 15:38:39 +02:00
parent f5532bb650
commit 6bb5ee0ded

View file

@ -29,7 +29,7 @@ matrix:
- clang-format-6.0 - clang-format-6.0
- libstdc++6 # >= 4.9 needed for clang-format-6.0 - libstdc++6 # >= 4.9 needed for clang-format-6.0
- env: PLATFORM=x11 TOOLS=yes TARGET=debug CACHE_NAME=${PLATFORM}-tools-mono-gcc EXTRA_ARGS="module_mono_enabled=yes mono_glue=no" - env: PLATFORM=x11 TOOLS=yes TARGET=debug CACHE_NAME=${PLATFORM}-tools-mono-gcc EXTRA_ARGS="module_mono_enabled=yes mono_glue=no werror=yes"
os: linux os: linux
compiler: gcc compiler: gcc
addons: addons:
@ -49,7 +49,7 @@ matrix:
build_command: "scons p=x11 -j2 $OPTIONS" build_command: "scons p=x11 -j2 $OPTIONS"
branch_pattern: coverity_scan branch_pattern: coverity_scan
- env: PLATFORM=x11 TOOLS=no TARGET=release CACHE_NAME=${PLATFORM}-clang - env: PLATFORM=x11 TOOLS=no TARGET=release CACHE_NAME=${PLATFORM}-clang EXTRA_ARGS="werror=yes"
os: linux os: linux
compiler: clang compiler: clang
addons: addons:
@ -57,7 +57,7 @@ matrix:
packages: packages:
- *linux_deps - *linux_deps
- env: PLATFORM=android TOOLS=no TARGET=release_debug CACHE_NAME=${PLATFORM}-clang - env: PLATFORM=android TOOLS=no TARGET=release_debug CACHE_NAME=${PLATFORM}-clang EXTRA_ARGS="werror=yes"
os: linux os: linux
compiler: clang compiler: clang