Skip to content

Commit

Permalink
No need to run coverage on dev machines
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and wiredfool committed Dec 28, 2017
1 parent 0bb3f4f commit cc35bd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis/script.sh
Expand Up @@ -7,7 +7,8 @@ python setup.py clean
CFLAGS="-coverage" python setup.py build_ext --inplace

python selftest.py
python setup.py test
python -m pytest -vx --cov PIL --cov-report term Tests

pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd

# Docs
Expand Down
2 changes: 1 addition & 1 deletion Tests/README.rst
Expand Up @@ -33,7 +33,7 @@ Or with coverage::

To run an individual test::

pytest Tests/test_image.py
pytest -k Tests/test_image.py

Run all the tests from the root of the Pillow source distribution::

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -3,4 +3,4 @@ test=pytest
[metadata]
license_file = LICENSE
[tool:pytest]
addopts = -vx --cov PIL --cov-report term Tests
addopts = -vx Tests

0 comments on commit cc35bd7

Please sign in to comment.