mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 13:03:43 +03:00
Don't run on Py3.x because installation takes ~4m , or ~2m with CFLAGS=-O0. Installation is ~1m30s for 2.x or ~30s with flags.
This commit is contained in:
parent
3ea4780bdc
commit
b72b6395c0
18
.travis.yml
18
.travis.yml
|
@ -48,10 +48,14 @@ after_success:
|
||||||
- pyflakes PIL/*.py | tee >(wc -l)
|
- pyflakes PIL/*.py | tee >(wc -l)
|
||||||
- pyflakes Tests/*.py | tee >(wc -l)
|
- pyflakes Tests/*.py | tee >(wc -l)
|
||||||
|
|
||||||
# Coverage and quality reports on just the last diff
|
|
||||||
- time git fetch origin master:refs/remotes/origin/master
|
# Coverage and quality reports on just the latest diff.
|
||||||
- time CFLAGS=-O0 pip install --use-wheel diff_cover
|
# (Installation is very slow on Py3, so just do it for Py2.)
|
||||||
- time coverage xml
|
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
|
||||||
- time diff-cover coverage.xml
|
git fetch origin master:refs/remotes/origin/master
|
||||||
- time diff-quality --violation=pep8
|
time CFLAGS=-O0 pip install --use-wheel diff_cover
|
||||||
- time diff-quality --violation=pyflakes
|
coverage xml
|
||||||
|
diff-cover coverage.xml
|
||||||
|
diff-quality --violation=pep8
|
||||||
|
diff-quality --violation=pyflakes
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user