From 5ab2009ebf0f2b96cc7e47e3ce8bbd7347245a65 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sun, 30 Dec 2018 17:39:14 +0000 Subject: [PATCH] Tweak Travis to include Python3.7 and pipenv --- .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e7169d3e..aac58606d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,20 +2,22 @@ language: python before_install: - 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 matrix: include: - - python: 3.4 - - python: 3.5 - - python: 3.6 - - python: 3.7 + - python: "3.4" + - python: "3.5" + - python: "3.6" + - python: "3.7-dev" install: - - pip install --requirement requirements.txt - - pip install sphinx + - pip install --upgrade pip pipenv sphinx + - pipenv lock -r > requirements.txt + - pip install -r requirements.txt + script: - cd src/ - pytest --cov @@ -23,4 +25,4 @@ script: - sphinx-build -b html ../docs ../docs/_build -W after_success: - - coveralls + - coveralls