Pillow/.travis/script.sh
Jon Dufresne e221b4ecff Remove duplicate run of selftest.py
The make target 'install-coverage' already runs selftest.py. Avoid
running the same script a second time to slightly speed up builds.
2019-07-02 18:18:17 -07:00

15 lines
311 B
Bash
Executable File

#!/bin/bash
set -e
coverage erase
make clean
make install-coverage
python -m pytest -v -x --cov PIL --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 doccheck; fi