From 5027b97c69692e5a86552dfd82833a584f2e4e56 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 23 Dec 2019 21:17:04 +1100 Subject: [PATCH] Use the same Python version to build docs in Travis and GHA --- .travis/install.sh | 4 ++-- .travis/test.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/install.sh b/.travis/install.sh index 747acb448..926e38303 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -20,8 +20,8 @@ if [[ $TRAVIS_PYTHON_VERSION == 3.* ]]; then pip install pyqt5 fi -# docs only on Python 3.7 -if [ "$TRAVIS_PYTHON_VERSION" == "3.7" ]; then pip install -r requirements.txt ; fi +# docs only on Python 3.8 +if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then pip install -r requirements.txt ; fi # webp pushd depends && ./install_webp.sh && popd diff --git a/.travis/test.sh b/.travis/test.sh index 91dae9f8d..832d90433 100755 --- a/.travis/test.sh +++ b/.travis/test.sh @@ -5,4 +5,4 @@ set -e python -m pytest -v -x --cov PIL --cov Tests --cov-report term Tests # Docs -if [ "$TRAVIS_PYTHON_VERSION" == "3.7" ]; then make doccheck; fi +if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then make doccheck; fi