Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (27 sloc) 1006 Bytes
language: python
python:
- '3.6'
sudo: true
cache:
directories:
- "$HOME/tika"
- "$HOME/.cache/pip"
- "$HOME/libs"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq build-essential gettext python-dev zlib1g-dev libpq-dev xvfb
- sudo apt-get install -qq libtiff4-dev libjpeg8-dev libfreetype6-dev liblcms1-dev libwebp-dev
- sudo apt-get install -qq graphviz-dev python-setuptools python3-dev python-virtualenv python-pip
- sudo apt-get install -qq firefox automake libtool libreadline6 libreadline6-dev libreadline-dev
- sudo apt-get install -qq libsqlite3-dev libxml2 libxml2-dev libssl-dev libbz2-dev wget curl llvm
- sudo apt-get install -qq tesseract-ocr
install:
- pip install -r lexpredict_openedgar/requirements/full.txt
- cp lexpredict_openedgar/sample.env lexpredict_openedgar/.env
after_script:
- cat /tmp/tika-server-*.log
script:
- source lexpredict_openedgar/.env
- python -m pytest --cov openedgar --pylint lexpredict_openedgar/openedgar/
after_success:
- coveralls