2016-02-21 01:37:57 +00:00
|
|
|
language: python
|
2016-02-21 01:58:09 +00:00
|
|
|
|
2020-11-27 12:08:10 +01:00
|
|
|
dist: focal
|
|
|
|
|
os: linux
|
|
|
|
|
|
2020-11-22 13:31:54 +01:00
|
|
|
jobs:
|
2020-11-22 13:20:20 +01:00
|
|
|
include:
|
|
|
|
|
- name: "Paperless on Python 3.6"
|
|
|
|
|
python: "3.6"
|
|
|
|
|
|
|
|
|
|
- name: "Paperless on Python 3.7"
|
|
|
|
|
python: "3.7"
|
|
|
|
|
|
|
|
|
|
- name: "Paperless on Python 3.8"
|
|
|
|
|
python: "3.8"
|
|
|
|
|
|
|
|
|
|
- name: "Documentation"
|
|
|
|
|
script:
|
|
|
|
|
- cd docs/
|
|
|
|
|
- make html
|
|
|
|
|
after_success: true
|
|
|
|
|
|
|
|
|
|
- name: "Front end"
|
|
|
|
|
language: node_js
|
|
|
|
|
node_js:
|
2020-11-22 13:25:59 +01:00
|
|
|
- 15
|
2020-11-22 13:20:20 +01:00
|
|
|
before_install: true
|
|
|
|
|
install:
|
|
|
|
|
- cd src-ui/
|
2020-11-22 13:31:54 +01:00
|
|
|
- npm install -g @angular/cli
|
2020-11-22 13:37:24 +01:00
|
|
|
- npm install
|
2020-11-22 13:20:20 +01:00
|
|
|
script:
|
|
|
|
|
- ng build --prod
|
|
|
|
|
after_success: true
|
|
|
|
|
|
2020-11-12 18:51:07 +01:00
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
|
- sudo apt-get update -qq
|
2020-11-25 21:38:19 +01:00
|
|
|
- sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr imagemagick ghostscript optipng
|
2016-02-21 01:58:09 +00:00
|
|
|
|
2016-02-21 01:37:57 +00:00
|
|
|
install:
|
2020-11-12 17:12:58 +01:00
|
|
|
- pip install --upgrade pipenv
|
2020-11-17 18:21:47 +01:00
|
|
|
- pipenv install --system --dev
|
2018-12-30 17:39:14 +00:00
|
|
|
|
2018-02-25 15:51:59 +00:00
|
|
|
script:
|
2020-11-12 17:12:58 +01:00
|
|
|
- cd src/
|
|
|
|
|
- pipenv run pytest --cov
|
|
|
|
|
- pipenv run pycodestyle
|
2018-02-25 16:42:15 +00:00
|
|
|
|
|
|
|
|
after_success:
|
2020-11-12 17:12:58 +01:00
|
|
|
- pipenv run coveralls
|