Pillow/.travis/script.sh

16 lines
388 B
Bash
Raw Normal View History

2017-01-19 18:54:54 +03:00
#!/bin/bash
set -e
coverage erase
python setup.py clean
CFLAGS="-coverage" python setup.py build_ext --inplace
python selftest.py
python -m pytest -vx --cov PIL --cov-report term Tests
2017-01-19 18:54:54 +03:00
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