mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
add docker to travis
This commit is contained in:
parent
dbc7021990
commit
d2bee620db
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user