]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: enable typecheck-gcc warnings
authorMarcel Raad <raad@teamviewer.com>
Tue, 20 Jun 2017 20:44:15 +0000 (22:44 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 21 Jun 2017 10:28:12 +0000 (12:28 +0200)
- 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

index b7bd768d9108b2e51edfc9b74af6683b84a8109b..852ac55b64554385d71b27766d12e1b959547690 100644 (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