From 09e5877cb1191fe09af7a2139780d377bdf19092 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Tue, 19 Mar 2019 17:30:58 +0900 Subject: bpo-36307: Travis: upgrade to Xenial environment (GH-12356) (cherry picked from commit 74ae50e53e59bbe39d6287b902757f0cd01327dc) Co-authored-by: CAM Gerlach --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index f44cc741ef..07d2641233 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: c -dist: trusty -sudo: false +dist: xenial group: beta # To cache doc-building dependencies and C compiler output. @@ -21,6 +20,8 @@ env: # Set rpath with env var instead of -Wl,-rpath linker flag # OpenSSL ignores LDFLAGS when linking bin/openssl - LD_RUN_PATH="${OPENSSL_DIR}/lib" + # python3.x in PATH may be pyenv shims, not real python. + - PYTHON_FOR_REGEN=python3 branches: only: @@ -82,6 +83,7 @@ matrix: before_install: - set -e + - pyenv global 3.7.1 # If this fails, try pyenv versions - | # Check short-circuit conditions if [ "${TESTING}" != "docs" ] -- cgit v1.2.1