diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-06-20 22:44:15 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-06-21 12:28:12 +0200 |
commit | c1dfc8a071c1b1c3c2e9330d485223209ec7051c (patch) | |
tree | c5ae8d352d9ed10c9f29b22d3e24bb8850ada0c1 | |
parent | ec512074cc0444534a383834d27654307f4ebe23 (diff) | |
download | curl-c1dfc8a071c1b1c3c2e9330d485223209ec7051c.tar.gz |
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
-rw-r--r-- | .travis.yml | 10 |
1 files 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 |