mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Tweak Travis to include Python3.7 and pipenv
This commit is contained in:
parent
637b0d4cc2
commit
5ab2009ebf
18
.travis.yml
18
.travis.yml
@ -2,20 +2,22 @@ language: python
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr tesseract-ocr-eng tesseract-ocr-cat tesseract-ocr-deu
|
- sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: 3.4
|
- python: "3.4"
|
||||||
- python: 3.5
|
- python: "3.5"
|
||||||
- python: 3.6
|
- python: "3.6"
|
||||||
- python: 3.7
|
- python: "3.7-dev"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install --requirement requirements.txt
|
- pip install --upgrade pip pipenv sphinx
|
||||||
- pip install sphinx
|
- pipenv lock -r > requirements.txt
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd src/
|
- cd src/
|
||||||
- pytest --cov
|
- pytest --cov
|
||||||
@ -23,4 +25,4 @@ script:
|
|||||||
- sphinx-build -b html ../docs ../docs/_build -W
|
- sphinx-build -b html ../docs ../docs/_build -W
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user