Pillow/.travis/script.sh
2017-12-28 14:48:19 +00:00

16 lines
505 B
Bash
Executable File

#!/bin/bash
set -e
coverage erase
python setup.py clean
CFLAGS="-coverage" python setup.py build_ext --inplace
coverage run --append --include="PIL/*" selftest.py
# coverage run --append --include="PIL/*" -m nose -vx Tests/test_*.py TODO remove
py.test -v --cov PIL --cov-append --cov-report term Tests
pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
# Docs
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then make install && make doccheck; fi