mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Need to run install or develop for coverage
This commit is contained in:
parent
7619018257
commit
3dc01995ca
|
@ -3,8 +3,8 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
coverage erase
|
coverage erase
|
||||||
python setup.py clean
|
make clean
|
||||||
CFLAGS="-coverage" python setup.py build_ext --inplace
|
make install-coverage
|
||||||
|
|
||||||
python selftest.py
|
python selftest.py
|
||||||
python -m pytest -vx --cov PIL --cov-report term Tests
|
python -m pytest -vx --cov PIL --cov-report term Tests
|
||||||
|
@ -12,4 +12,4 @@ python -m pytest -vx --cov PIL --cov-report term Tests
|
||||||
pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
|
pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
|
||||||
|
|
||||||
# Docs
|
# Docs
|
||||||
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then make install && make doccheck; fi
|
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then make doccheck; fi
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -50,15 +50,15 @@ help:
|
||||||
@echo " upload-test build and upload sdists to test.pythonpackages.com"
|
@echo " upload-test build and upload sdists to test.pythonpackages.com"
|
||||||
|
|
||||||
inplace: clean
|
inplace: clean
|
||||||
python setup.py build_ext --inplace
|
python setup.py develop build_ext --inplace
|
||||||
|
|
||||||
install:
|
install:
|
||||||
python setup.py install
|
python setup.py install
|
||||||
python selftest.py --installed
|
python selftest.py
|
||||||
|
|
||||||
install-coverage:
|
install-coverage:
|
||||||
CFLAGS="-coverage" python setup.py build_ext install
|
CFLAGS="-coverage" python setup.py build_ext install
|
||||||
python selftest.py --installed
|
python selftest.py
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
# make a debug version if we don't have a -dbg python. Leaves in symbols
|
# make a debug version if we don't have a -dbg python. Leaves in symbols
|
||||||
|
|
Loading…
Reference in New Issue
Block a user