From 829ce861205046a3c05b800334ee6b0fbc2fd92e Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Wed, 12 May 2021 19:46:01 +0100 Subject: [PATCH] test: show curl verbose output on -d (debug) --- .travis/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis/tests.py b/.travis/tests.py index c8862c1f6..16e8c15d4 100755 --- a/.travis/tests.py +++ b/.travis/tests.py @@ -97,6 +97,8 @@ def process_each(softwares): printd("version['installer']", version["installer"]) c = curl.Curl() # c.setopt(curl.WRITEFUNCTION, headers.write) + if debug: + c.setopt(curl.VERBOSE, 1) c.setopt(curl.URL, version["installer"]) c.setopt(curl.USERAGENT, "curl/7.76.0") c.setopt(curl.FOLLOWLOCATION, True)