mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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
This commit is contained in:
parent
ec512074cc
commit
c1dfc8a071
10
.travis.yml
10
.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
|
||||
|
Loading…
Reference in New Issue
Block a user