- 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
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
fi
- |
if [ "$BUILD_TYPE" = "normal" ]; then
- ./configure
+ ./configure --enable-werror
make
make TFLAGS=-n test-nonflaky
fi