mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Merge pull request #4286 from radarhere/docs_python_version
Use the same Python version to build docs in Travis and GHA
This commit is contained in:
commit
fafeeefccd
|
@ -20,8 +20,8 @@ if [[ $TRAVIS_PYTHON_VERSION == 3.* ]]; then
|
||||||
pip install pyqt5
|
pip install pyqt5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# docs only on Python 3.7
|
# docs only on Python 3.8
|
||||||
if [ "$TRAVIS_PYTHON_VERSION" == "3.7" ]; then pip install -r requirements.txt ; fi
|
if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then pip install -r requirements.txt ; fi
|
||||||
|
|
||||||
# webp
|
# webp
|
||||||
pushd depends && ./install_webp.sh && popd
|
pushd depends && ./install_webp.sh && popd
|
||||||
|
|
|
@ -5,4 +5,4 @@ set -e
|
||||||
python -m pytest -v -x --cov PIL --cov Tests --cov-report term Tests
|
python -m pytest -v -x --cov PIL --cov Tests --cov-report term Tests
|
||||||
|
|
||||||
# Docs
|
# Docs
|
||||||
if [ "$TRAVIS_PYTHON_VERSION" == "3.7" ]; then make doccheck; fi
|
if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ]; then make doccheck; fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user