From: Inada Naoki <songofacandy@gmail.com>
Date: Thu, 27 Jun 2019 17:05:37 +0000 (+0900)
Subject: bpo-30345: travis: use -Og with --with-pydebug (GH-14423)
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21cfae107e410bf4b0ab3c142ca4449bc33290f5;p=python

bpo-30345: travis: use -Og with --with-pydebug (GH-14423)
---

diff --git a/.travis.yml b/.travis.yml
index 3e2cbb6fb0..cff401f5bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -166,7 +166,8 @@ install:
 
 # Travis provides only 2 cores, so don't overdo the parallelism and waste memory.
 before_script:
-  - ./configure --with-pydebug
+  # -Og is much faster than -O0
+  - CFLAGS="${CFLAGS} -Og" ./configure --with-pydebug
   - make -j4 regen-all
   - changes=`git status --porcelain`
   - |