summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-10 11:56:22 (GMT)
committerINADA Naoki <methane@users.noreply.github.com>2018-02-10 11:56:22 (GMT)
commite39429ab907df039a4bb6dbfece4c0ef32abeae0 (patch)
treefa1745744f9acf365cd153cd8f9465523c753cb3 /.travis.yml
parent2ef69a1d45de8aa41c45d32d9ee1ff227bb1a566 (diff)
downloadcpython-e39429ab907df039a4bb6dbfece4c0ef32abeae0.zip
cpython-e39429ab907df039a4bb6dbfece4c0ef32abeae0.tar.gz
cpython-e39429ab907df039a4bb6dbfece4c0ef32abeae0.tar.bz2
travis: Use -O3 option (GH-5599)
We don't use debugger on Travis. (cherry picked from commit 8ff53564730f7ba503f5ad94418c309c48e8516d) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 98d6b9a..dd06887 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,8 @@ env:
- OPENSSL=1.1.0g
- OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
- PATH="${OPENSSL_DIR}/bin:$PATH"
- - CFLAGS="-I${OPENSSL_DIR}/include"
+ # Use -O3 because we don't use debugger on Travis-CI
+ - CFLAGS="-I${OPENSSL_DIR}/include -O3"
- LDFLAGS="-L${OPENSSL_DIR}/lib"
# Set rpath with env var instead of -Wl,-rpath linker flag
# OpenSSL ignores LDFLAGS when linking bin/openssl