summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-08-19 20:35:55 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-08-19 20:35:55 +0300
commitcd9b4290719839af52f1d067a3bdb1cc520aa01e (patch)
tree494904cc09e097969cc5c2fd448693a5414b8625 /.travis.yml
parent1a062eca15fd3f99ca8de0d03b9be06da9689e68 (diff)
downloadbdwgc-cd9b4290719839af52f1d067a3bdb1cc520aa01e.tar.gz
Travis CI: Treat CMake script warnings as errors
This turns on CMake developer warnings (in addition to the deprecation ones) and make them errors.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 33d896aa..b69c387b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -816,9 +816,8 @@ script:
CFLAGS_EXTRA="$CFLAGS_EXTRA" LDFLAGS="$LDFLAGS";
fi
- if [[ "$CMAKE_CONFIG" != "" ]]; then
- cmake $CMAKE_OPTIONS -Dbuild_tests=ON -Denable_werror=ON
- -Werror=deprecated . &&
- cmake --build . --config $CMAKE_CONFIG;
+ cmake $CMAKE_OPTIONS -Dbuild_tests=ON -Denable_werror=ON -Werror=dev .
+ && cmake --build . --config $CMAKE_CONFIG;
fi
- if [[ "$CMAKE_CONFIG" != "" ]]; then
ctest --build-config $CMAKE_CONFIG -j4 -V;