travis: enable -Werror in the script instead of using the matrix

This commit is contained in:
Etienne Samson
2018-04-20 23:11:30 +02:00
parent 149790b96e
commit 61eaaadf7f
2 changed files with 3 additions and 3 deletions

View File

@@ -23,5 +23,5 @@ fi
mkdir _build
cd _build
# shellcheck disable=SC2086
cmake .. -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS || exit $?
cmake .. -DBUILD_EXAMPLES=ON -DENABLE_WERROR=ON -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS || exit $?
cmake --build . --target install || exit $?