1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

travis: let some builds *not* use --enable-debug

typecheck-gcc and other things require optimized builds

Closes #1544
This commit is contained in:
Daniel Stenberg 2017-06-06 14:40:36 +02:00
parent bacb909e13
commit e100afb4d8

View File

@ -16,7 +16,7 @@ matrix:
include: include:
- os: linux - os: linux
compiler: gcc compiler: gcc
env: BUILD_TYPE=normal env: BUILD_TYPE=debug
- os: linux - os: linux
compiler: clang compiler: clang
env: BUILD_TYPE=normal env: BUILD_TYPE=normal
@ -25,7 +25,7 @@ matrix:
env: BUILD_TYPE=normal env: BUILD_TYPE=normal
- os: osx - os: osx
compiler: clang compiler: clang
env: BUILD_TYPE=normal env: BUILD_TYPE=debug
- os: linux - os: linux
compiler: gcc compiler: gcc
dist: trusty dist: trusty
@ -62,11 +62,17 @@ script:
coveralls --gcov /usr/bin/gcov-4.8 --gcov-options '\-lp' -i src -i lib -i lib/vtls -i lib/vauth -e tests -e docs coveralls --gcov /usr/bin/gcov-4.8 --gcov-options '\-lp' -i src -i lib -i lib/vtls -i lib/vauth -e tests -e docs
fi fi
- | - |
if [ "$BUILD_TYPE" = "normal" ]; then if [ "$BUILD_TYPE" = "debug" ]; then
./configure --enable-debug ./configure --enable-debug
make make
make TFLAGS=-n test-nonflaky make TFLAGS=-n test-nonflaky
fi fi
- |
if [ "$BUILD_TYPE" = "normal" ]; then
./configure
make
make TFLAGS=-n test-nonflaky
fi
- | - |
if [ "$BUILD_TYPE" = "cmake" ]; then if [ "$BUILD_TYPE" = "cmake" ]; then
mkdir build mkdir build