From: Marcel Raad Date: Tue, 20 Jun 2017 20:44:15 +0000 (+0200) Subject: travis: enable typecheck-gcc warnings X-Git-Tag: curl-7_55_0~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1dfc8a071c1b1c3c2e9330d485223209ec7051c;p=thirdparty%2Fcurl.git travis: enable typecheck-gcc warnings - switch debug and release configurations so that we get an optimized build with GCC 4.3+ as required by typecheck-gcc - enable warnings-as-errors for release builds (which have warnings disabled) Closes https://github.com/curl/curl/pull/1595 --- diff --git a/.travis.yml b/.travis.yml index b7bd768d91..852ac55b64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,16 +16,16 @@ matrix: include: - os: linux compiler: gcc - env: BUILD_TYPE=debug + env: BUILD_TYPE=normal - os: linux compiler: clang - env: BUILD_TYPE=normal + env: BUILD_TYPE=debug - os: osx compiler: gcc - env: BUILD_TYPE=normal + env: BUILD_TYPE=debug - os: osx compiler: clang - env: BUILD_TYPE=debug + env: BUILD_TYPE=normal - os: linux compiler: gcc dist: trusty @@ -69,7 +69,7 @@ script: fi - | if [ "$BUILD_TYPE" = "normal" ]; then - ./configure + ./configure --enable-werror make make TFLAGS=-n test-nonflaky fi