Fiddle with travis, try to get better debug output
Essentially cffi failed somehow, not clear how
This commit is contained in:
+5
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user