From c1dfc8a071c1b1c3c2e9330d485223209ec7051c Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 20 Jun 2017 22:44:15 +0200 Subject: 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 --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b7bd768d9..852ac55b6 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 -- cgit v1.2.3