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
This commit is contained in:
Marcel Raad 2017-06-20 22:44:15 +02:00 committed by Marcel Raad
parent ec512074cc
commit c1dfc8a071
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02
1 changed files with 5 additions and 5 deletions

View File

@ -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