Show all warnings

This commit is contained in:
Andrew Murray 2020-01-27 12:30:27 +11:00 committed by Jon Dufresne
parent 2b84221edf
commit 1671f6bd71
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
set -e
python -m pytest -v -x --cov PIL --cov Tests --cov-report term Tests
python -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests
# Docs
if [ "$TRAVIS_PYTHON_VERSION" == "3.8" ] && [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then

View File

@ -335,7 +335,7 @@ jobs:
rem Add libraqm.dll (copied to INCLIB) to PATH.
path %INCLIB%;%PATH%
cd /D %GITHUB_WORKSPACE%
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
%PYTHON%\python.exe -m pytest -vx -W always --cov PIL --cov Tests --cov-report term --cov-report xml Tests
shell: cmd
- name: Prepare to upload errors

View File

@ -14,7 +14,7 @@ commands =
{envpython} setup.py clean
{envpython} setup.py build_ext --inplace
{envpython} selftest.py
{envpython} -W always -m pytest {posargs}
{envpython} -m pytest -W always {posargs}
deps =
cffi
numpy