aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-06-20 22:44:15 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-06-21 12:28:12 +0200
commitc1dfc8a071c1b1c3c2e9330d485223209ec7051c (patch)
treec5ae8d352d9ed10c9f29b22d3e24bb8850ada0c1
parentec512074cc0444534a383834d27654307f4ebe23 (diff)
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.yml10
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