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:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: BUILD_TYPE=debug
|
env: BUILD_TYPE=normal
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD_TYPE=normal
|
env: BUILD_TYPE=debug
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: BUILD_TYPE=normal
|
env: BUILD_TYPE=debug
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD_TYPE=debug
|
env: BUILD_TYPE=normal
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
dist: trusty
|
dist: trusty
|
||||||
@ -69,7 +69,7 @@ script:
|
|||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if [ "$BUILD_TYPE" = "normal" ]; then
|
if [ "$BUILD_TYPE" = "normal" ]; then
|
||||||
./configure
|
./configure --enable-werror
|
||||||
make
|
make
|
||||||
make TFLAGS=-n test-nonflaky
|
make TFLAGS=-n test-nonflaky
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user