bpo-36307: Travis: upgrade to Xenial environment (GH-12356) · python/cpython@09e5877 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
1 1 language: c
2 -dist: trusty
3 -sudo: false
2 +dist: xenial
4 3 group: beta
5 4
6 5 # To cache doc-building dependencies and C compiler output.
@@ -21,6 +20,8 @@ env:
21 20 # Set rpath with env var instead of -Wl,-rpath linker flag
22 21 # OpenSSL ignores LDFLAGS when linking bin/openssl
23 22 - LD_RUN_PATH="${OPENSSL_DIR}/lib"
23 +# python3.x in PATH may be pyenv shims, not real python.
24 + - PYTHON_FOR_REGEN=python3
24 25
25 26 branches:
26 27 only:
@@ -82,6 +83,7 @@ matrix:
82 83
83 84 before_install:
84 85 - set -e
86 + - pyenv global 3.7.1 # If this fails, try pyenv versions
85 87 - |
86 88 # Check short-circuit conditions
87 89 if [ "${TESTING}" != "docs" ]