travis: treat warnings as errors (-Werror)

This commit is contained in:
Håvard Pettersson 2018-05-02 12:58:52 +02:00
parent 61b4bed49b
commit f39d220973

View File

@ -13,6 +13,7 @@ env:
# install dependencies under $HOME because we don't have sudo # install dependencies under $HOME because we don't have sudo
- DEPENDENCY_DIR="$HOME/dependencies" \ - DEPENDENCY_DIR="$HOME/dependencies" \
PKG_CONFIG_PATH="$DEPENDENCY_DIR/lib/pkgconfig:$PKG_CONFIG_PATH" \ PKG_CONFIG_PATH="$DEPENDENCY_DIR/lib/pkgconfig:$PKG_CONFIG_PATH" \
CFLAGS=-Werror \
SODIUM_VERSION=1.0.16 \ SODIUM_VERSION=1.0.16 \
TOXCORE_VERSION=0.2.1 TOXCORE_VERSION=0.2.1