summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-08-19 13:13:38 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-08-19 13:13:38 +0300
commit0a26a94cd681cebba2b0a1f76c51b99bb5e24a83 (patch)
tree0adb58c839ce6352da66cfe71118f8de16ad5e76
parent36eeb7af14360f616096b7b91389e8c1653c1854 (diff)
downloadlibatomic_ops-0a26a94cd681cebba2b0a1f76c51b99bb5e24a83.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.
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 55793a5..996c99f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -707,8 +707,7 @@ script:
LDFLAGS="$LDFLAGS";
fi
- if [[ "$CMAKE_OPTIONS" != "" ]]; then
- cmake $CMAKE_OPTIONS -Dbuild_tests=ON -Denable_werror=ON
- -Werror=deprecated . &&
+ cmake $CMAKE_OPTIONS -Dbuild_tests=ON -Denable_werror=ON -Werror=dev . &&
cmake --build . --verbose;
fi
- if [[ "$CMAKE_OPTIONS" != "" ]]; then