python-imagesize/0005-Fix-Python-3.7-Travis-testing.patch
zhang-liang-pengkun e39e738cc0 Fix Python 3.7 Travis testing
Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
2023-12-29 16:25:03 +08:00

37 lines
857 B
Diff

From 4b14779126b0a3fccd1f4843067dd472bdc421f4 Mon Sep 17 00:00:00 2001
From: Jon Dufresne <jon.dufresne@gmail.com>
Date: Sat, 15 Sep 2018 09:49:47 -0700
Subject: [PATCH] Fix Python 3.7 Travis testing
Use 'dist: xenial' in Travis to simplify configuration. Allows using
Python version 3.7 without sudo declarations. Travis officially added
support for Xenial on 2018-11-08.
https://blog.travis-ci.com/2018-11-08-xenial-release
---
.travis.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 63e8545..3da2af8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,4 @@
+dist: xenial
language: python
cache: pip
python:
@@ -6,7 +7,8 @@ python:
- "3.5"
- "3.6"
- "3.7"
- - "pypy"
+ - "pypy2.7-6.0"
+ - "pypy3.5-6.0"
install:
- pip install nose
script: nosetests
--
2.39.0.windows.2