williamfzc/findit

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
os: linux
dist: xenial
language: python
sudo: true
python:
  - "3.6"
  - "3.7"

install:
  - sudo apt-get -qq update
  - sudo apt-get -y install tesseract-ocr tesseract-ocr-chi-sim libtesseract-dev libleptonica-dev pkg-config
  - pip install pytest
  - pip install findit-client
  - pip install Pillow
  - pip install findtext

script:
  - pip install .
  - cd sample
  - python demo.py
  - python short.py
  - cd ..
  - pip install .[web]
  - pytest tests/