From 01294227142d5c79c0064caa9b1427c2b9ca7bc2 Mon Sep 17 00:00:00 2001 From: Ondrej Mosnacek Date: Thu, 6 Feb 2020 14:19:01 +0100 Subject: [PATCH] Travis-CI: test that DEBUG build works Signed-off-by: Ondrej Mosnacek --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e9f86baa..918958ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ env: # Test the last version of Python and Ruby together, with some linkers - PYVER=python3.7 RUBYLIBVER=2.6 - PYVER=python3.7 RUBYLIBVER=2.6 TEST_FLAGS_OVERRIDE=1 + - PYVER=python3.7 RUBYLIBVER=2.6 TEST_DEBUG=1 - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd @@ -116,6 +117,8 @@ before_script: # If TEST_FLAGS_OVERRIDE is defined, test that overriding CFLAGS, LDFLAGS and other variables works fine - if [ -n "$TEST_FLAGS_OVERRIDE" ]; then EXPLICIT_MAKE_VARS="CFLAGS=-I$DESTDIR/usr/include LDFLAGS=-L$DESTDIR/usr/lib LDLIBS= CPPFLAGS=" ; fi + # If TEST_DEBUG is defined, test that debug build works fine + - if [ -n "$TEST_DEBUG" ]; then EXPLICIT_MAKE_VARS="$EXPLICIT_MAKE_VARS DEBUG=1" ; fi script: # Start by installing everything into $DESTDIR