]> granicus.if.org Git - python/commitdiff
bpo-33926: enable GDB tests on Travis CI (GH-14395)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 27 Jun 2019 11:46:59 +0000 (04:46 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2019 11:46:59 +0000 (04:46 -0700)
(cherry picked from commit 667eaffb4e5d03bf8129773f79649c3befaa5b1a)

Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
.travis.yml

index 02de997750abc88c694619a365fc91c533f007cb..d46f52c90d35371bf37f7dfd623f488b59b62eae 100644 (file)
@@ -14,8 +14,7 @@ env:
     - OPENSSL=1.1.1c
     - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
     - PATH="${OPENSSL_DIR}/bin:$PATH"
-    # Use -O3 because we don't use debugger on Travis-CI
-    - CFLAGS="-I${OPENSSL_DIR}/include -O3"
+    - CFLAGS="-I${OPENSSL_DIR}/include"
     - LDFLAGS="-L${OPENSSL_DIR}/lib"
     # Set rpath with env var instead of -Wl,-rpath linker flag
     # OpenSSL ignores LDFLAGS when linking bin/openssl
@@ -43,6 +42,7 @@ matrix:
       addons:
         apt:
           packages:
+            - gdb
             - xvfb
     - name: "Documentation build"
       os: linux