-
Notifications
You must be signed in to change notification settings - Fork 96
/
.travis.yml
executable file
·27 lines (27 loc) · 1006 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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