Skip to content

Commit 09e5877

Browse files
methaneCAM-Gerlach
andauthored
bpo-36307: Travis: upgrade to Xenial environment (GH-12356)
(cherry picked from commit 74ae50e) Co-authored-by: CAM Gerlach <[email protected]>
1 parent dd1cfef commit 09e5877

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: c
2-
dist: trusty
3-
sudo: false
2+
dist: xenial
43
group: beta
54

65
# To cache doc-building dependencies and C compiler output.
@@ -21,6 +20,8 @@ env:
2120
# Set rpath with env var instead of -Wl,-rpath linker flag
2221
# OpenSSL ignores LDFLAGS when linking bin/openssl
2322
- LD_RUN_PATH="${OPENSSL_DIR}/lib"
23+
# python3.x in PATH may be pyenv shims, not real python.
24+
- PYTHON_FOR_REGEN=python3
2425

2526
branches:
2627
only:
@@ -82,6 +83,7 @@ matrix:
8283

8384
before_install:
8485
- set -e
86+
- pyenv global 3.7.1 # If this fails, try pyenv versions
8587
- |
8688
# Check short-circuit conditions
8789
if [ "${TESTING}" != "docs" ]

0 commit comments

Comments
 (0)