From e100afb4d8697e9c5f0e4b34b3b6f2b45337e442 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 6 Jun 2017 14:40:36 +0200 Subject: [PATCH] travis: let some builds *not* use --enable-debug typecheck-gcc and other things require optimized builds Closes #1544 --- .travis.yml | 12 +++++++++--- 1 file 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,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 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