diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-23 13:24:29 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-26 09:56:16 +0200 |
commit | 33e8a7b36879c82d9e495e8c5340e58c6d9ded34 (patch) | |
tree | 8ce492532ee639e5385b7b5fa4eb616ce901ae57 /travis | |
parent | be74a00464dab7c287045939c01839878e70b5f4 (diff) | |
download | php-git-33e8a7b36879c82d9e495e8c5340e58c6d9ded34.tar.gz |
Enable -Werror in CI
Add --enable-werror configure option and use it on Travis. It's not
possible to directly use CFLAGS, because it also affects configure
checks which often throw warnings.
We can't enable something similar for Windows builds at this time,
because they throw a lot more warnings.
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/compile.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/travis/compile.sh b/travis/compile.sh index 65c11ff378..0884eb36cf 100755 --- a/travis/compile.sh +++ b/travis/compile.sh @@ -74,6 +74,7 @@ $TS \ --with-kerberos \ --enable-sysvmsg \ --enable-zend-test=shared \ +--enable-werror \ > "$CONFIG_LOG_FILE" make "-j${MAKE_JOBS}" $MAKE_QUIET > "$MAKE_LOG_FILE" |