From 87278b275bc68b6a45942b961ed42d50053762d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= <jeremy.laine@m4x.org>
Date: Tue, 7 May 2019 00:53:45 +0200
Subject: [PATCH] [travis] update PyPy version

---
 .travis.yml         | 12 ++++++++----
 scripts/activate.sh |  2 +-
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index b23556f..7a47bd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -118,10 +118,12 @@ matrix:
 
         # PyPy
         # These are known to be broken.
-        - python: "pypy"
+        - python: "pypy2.7-6.0"
+          dist: xenial
           env: LIBRARY=ffmpeg-4.0
           os: linux
-        - python: "pypy3"
+        - python: "pypy3.5-6.0"
+          dist: xenial
           env: LIBRARY=ffmpeg-4.0
           os: linux
 
@@ -144,10 +146,12 @@ matrix:
 
     allow_failures:
 
-        - python: "pypy"
+        - python: "pypy2.7-6.0"
+          dist: xenial
           env: LIBRARY=ffmpeg-4.0
           os: linux
-        - python: "pypy3"
+        - python: "pypy3.5-6.0"
+          dist: xenial
           env: LIBRARY=ffmpeg-4.0
           os: linux
 
diff --git a/scripts/activate.sh b/scripts/activate.sh
index 8a540c4..ca03a8d 100755
--- a/scripts/activate.sh
+++ b/scripts/activate.sh
@@ -44,7 +44,7 @@ if [[ "$TRAVIS" ]]; then
     # Travis as a very self-contained environment. Lets just work in that.
     echo "We're on Travis, so not setting up another virtualenv."
 
-    if [[ "$TRAVIS_PYTHON_VERSION" = "2.7" || "$TRAVIS_PYTHON_VERSION" = "pypy" ]]; then
+    if [[ "$TRAVIS_PYTHON_VERSION" = "2.7" || "$TRAVIS_PYTHON_VERSION" = "pypy2.7-6.0" ]]; then
         PYAV_PYTHON=python
         PYAV_PIP=pip
     fi
-- 
GitLab