Fiddle with travis, try to get better debug output

Essentially cffi failed somehow, not clear how
This commit is contained in:
James R. Barlow
2016-02-16 02:12:14 -08:00
parent 1224af1780
commit 88433e4c34
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -1,8 +1,8 @@
language: python
cache:
pip
directories:
- $HOME/.cache/pip
- $HOME/.ccache
- tarballs
- tests/cache
@@ -10,6 +10,9 @@ cache:
python:
- 3.4
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
before_install:
# Ubuntu packages
- sudo add-apt-repository ppa:evl.ms/precise -y # for Ghostscript 9.15
@@ -36,7 +39,7 @@ install:
script:
- python setup.py clean
- python setup.py install
- py.test
- py.test -s tests/test_main.py::test_deskew
os:
- linux
+1 -1
View File
@@ -103,7 +103,7 @@ def test_quick(spoof_tesseract_noop):
def test_deskew(spoof_tesseract_noop):
# Run with deskew
deskewed_pdf = check_ocrmypdf(
'skew.pdf', 'test_deskew.pdf', '-d', env=spoof_tesseract_noop)
'skew.pdf', 'test_deskew.pdf', '-d', '-v', '1', env=spoof_tesseract_noop)
# Now render as an image again and use Leptonica to find the skew angle
# to confirm that it was deskewed