Unverified Commit c1dfc8a0 authored by Marcel Raad's avatar Marcel Raad
Browse files

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
parent ec512074
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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