Merge pull request #5023 from radarhere/python39

This commit is contained in:
Hugo van Kemenade 2020-10-31 01:34:57 +02:00 committed by GitHub
commit 920cc46f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ if [[ $TRAVIS ]]; then
codecov --flags TravisCI codecov --flags TravisCI
fi fi
if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then if [ "$TRAVIS_PYTHON_VERSION" == "3.9" ]; then
# Coverage and quality reports on just the latest diff. # Coverage and quality reports on just the latest diff.
depends/diffcover-install.sh depends/diffcover-install.sh
depends/diffcover-run.sh depends/diffcover-run.sh

View File

@ -47,8 +47,8 @@ if [[ $TRAVIS_PYTHON_VERSION == 3.* ]]; then
fi fi
fi fi
# docs only on Python 3.8 # docs only on Python 3.9
if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then python3 -m pip install -r requirements.txt ; fi if [ "$TRAVIS_PYTHON_VERSION" == "3.9" ]; then python3 -m pip install -r requirements.txt ; fi
# webp # webp
pushd depends && ./install_webp.sh && popd pushd depends && ./install_webp.sh && popd

View File

@ -5,6 +5,6 @@ set -e
python -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests python -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests
# Docs # Docs
if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ] && [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then if [ "$TRAVIS_PYTHON_VERSION" == "3.9" ] && [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then
make doccheck make doccheck
fi fi

View File

@ -94,7 +94,7 @@ jobs:
path: Tests/errors path: Tests/errors
- name: Docs - name: Docs
if: startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.8 if: startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.9
run: | run: |
python3 -m pip install sphinx-removed-in sphinx-rtd-theme python3 -m pip install sphinx-removed-in sphinx-rtd-theme
make doccheck make doccheck