add docker to travis

This commit is contained in:
Jonas Winkler 2020-11-12 18:51:07 +01:00
parent dbc7021990
commit d2bee620db

View File

@ -4,7 +4,13 @@ python:
- "3.6" - "3.6"
- "3.7" - "3.7"
- "3.8" - "3.8"
- "3.9"
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr
install: install:
- pip install --upgrade pipenv - pip install --upgrade pipenv
@ -14,6 +20,7 @@ script:
- cd src/ - cd src/
- pipenv run pytest --cov - pipenv run pytest --cov
- pipenv run pycodestyle - pipenv run pycodestyle
- docker build --tag=jonaswinkler/paperless-ng .
after_success: after_success:
- pipenv run coveralls - pipenv run coveralls