summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-06 14:40:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-06 14:40:57 +0200
commite100afb4d8697e9c5f0e4b34b3b6f2b45337e442 (patch)
treef16c0f5f52c98171e10f9ab35969027960681c8f
parentbacb909e136b9fc56cf438eaf0f9d7561d9be775 (diff)
downloadgnurl-e100afb4d8697e9c5f0e4b34b3b6f2b45337e442.tar.gz
gnurl-e100afb4d8697e9c5f0e4b34b3b6f2b45337e442.tar.bz2
gnurl-e100afb4d8697e9c5f0e4b34b3b6f2b45337e442.zip
travis: let some builds *not* use --enable-debug
typecheck-gcc and other things require optimized builds Closes #1544
-rw-r--r--.travis.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 7069e1ed6..080f5fc13 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,7 @@ matrix:
include:
- os: linux
compiler: gcc
- env: BUILD_TYPE=normal
+ env: BUILD_TYPE=debug
- os: linux
compiler: clang
env: BUILD_TYPE=normal
@@ -25,7 +25,7 @@ matrix:
env: BUILD_TYPE=normal
- os: osx
compiler: clang
- env: BUILD_TYPE=normal
+ env: BUILD_TYPE=debug
- os: linux
compiler: gcc
dist: trusty
@@ -62,12 +62,18 @@ 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
fi
- |
- if [ "$BUILD_TYPE" = "normal" ]; then
+ if [ "$BUILD_TYPE" = "debug" ]; then
./configure --enable-debug
make
make TFLAGS=-n test-nonflaky
fi
- |
+ if [ "$BUILD_TYPE" = "normal" ]; then
+ ./configure
+ make
+ make TFLAGS=-n test-nonflaky
+ fi
+ - |
if [ "$BUILD_TYPE" = "cmake" ]; then
mkdir build
cd build