mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +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 Tests/*.py | tee >(wc -l)
|
||||
|
||||
# Coverage and quality reports on just the last diff
|
||||
- time git fetch origin master:refs/remotes/origin/master
|
||||
- time CFLAGS=-O0 pip install --use-wheel diff_cover
|
||||
- time coverage xml
|
||||
- time diff-cover coverage.xml
|
||||
- time diff-quality --violation=pep8
|
||||
- time diff-quality --violation=pyflakes
|
||||
|
||||
# Coverage and quality reports on just the latest diff.
|
||||
# (Installation is very slow on Py3, so just do it for Py2.)
|
||||
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
|
||||
git fetch origin master:refs/remotes/origin/master
|
||||
time CFLAGS=-O0 pip install --use-wheel diff_cover
|
||||
coverage xml
|
||||
diff-cover coverage.xml
|
||||
diff-quality --violation=pep8
|
||||
diff-quality --violation=pyflakes
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user