From 4539016a5594745000532e657f4e012babbe8fdd Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 28 Jun 2015 22:41:17 +0300 Subject: [PATCH 1/7] Run check-manifest --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index f94f8376a..1873a0042 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ install: - "travis_retry sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev libjpeg-turbo-progs cmake imagemagick" - "travis_retry pip install cffi" - "travis_retry pip install coverage nose" + - "travis_retry pip install check-manifest" # Pyroma tests sometimes hang on PyPy; skip for PyPy - if [ $TRAVIS_PYTHON_VERSION != "pypy" ]; then travis_retry pip install pyroma; fi @@ -38,6 +39,7 @@ script: - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py + - check-manifest after_success: # gather the coverage data From 3d98bd8e82c41497cce8382db89895fe83944b17 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 28 Jun 2015 23:07:21 +0300 Subject: [PATCH 2/7] check-manifest: ignore downloaded libwebp files --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1873a0042..400ee82c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ script: - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py - - check-manifest + - check-manifest --ignore depends/libwebp-0.4.3/* after_success: # gather the coverage data From 337700d86a85475035b91caade102b002c8b1f78 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 28 Jun 2015 23:15:41 +0300 Subject: [PATCH 3/7] Wrap pattern in quotes --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 400ee82c4..fec912f37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ script: - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py - - check-manifest --ignore depends/libwebp-0.4.3/* + - check-manifest --ignore "depends/libwebp-0.4.3/*" after_success: # gather the coverage data From b6df10abad86d2fef27d556769bd41996e0c7280 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 28 Jun 2015 23:21:46 +0300 Subject: [PATCH 4/7] check-manifest: ignore dir --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fec912f37..9a771d832 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ script: - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py - - check-manifest --ignore "depends/libwebp-0.4.3/*" + - check-manifest --ignore depends/libwebp-0.4.3 after_success: # gather the coverage data From 17dc7f4b5f91d58ad3a093994d0233da172a4017 Mon Sep 17 00:00:00 2001 From: hugovk Date: Mon, 29 Jun 2015 16:15:24 +0300 Subject: [PATCH 5/7] check-manifest --ignore depends/* --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9a771d832..b3556b077 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ script: - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py - - check-manifest --ignore depends/libwebp-0.4.3 + - check-manifest --ignore depends/* after_success: # gather the coverage data From cc345f74fde9481268d1183f5239a52183567541 Mon Sep 17 00:00:00 2001 From: hugovk Date: Mon, 29 Jun 2015 16:26:19 +0300 Subject: [PATCH 6/7] TEMP check-manifest before tests to make testing easier for now --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b3556b077..a3f007a41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,9 +37,9 @@ script: - python setup.py clean - CFLAGS="-coverage" python setup.py build_ext --inplace + - check-manifest --ignore "depends/*" - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py - - check-manifest --ignore depends/* after_success: # gather the coverage data From 50b6e92b046d8bf4806be8312942155d062976df Mon Sep 17 00:00:00 2001 From: hugovk Date: Mon, 29 Jun 2015 16:50:33 +0300 Subject: [PATCH 7/7] Move check-manifest to after tests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a3f007a41..2397376fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,9 +37,9 @@ script: - python setup.py clean - CFLAGS="-coverage" python setup.py build_ext --inplace - - check-manifest --ignore "depends/*" - coverage run --append --include=PIL/* selftest.py - coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py + - check-manifest --ignore "depends/*" after_success: # gather the coverage data