Updated travis to cover python 3.6-3.8 and integrated with coveralls.

This commit is contained in:
Mark Wolfman
2020-04-29 23:53:50 -05:00
parent a820721fa4
commit a3bb488c23
4 changed files with 13 additions and 3 deletions
+6 -2
View File
@@ -1,11 +1,15 @@
language: python
python:
- "3.6"
- "3.7-dev" # 3.7 development branch
- "3.7"
- "3.8"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r requirements-testing.txt
- pip install -e .
# command to run tests
script:
- pytest
- pytest --cov=dungeonsheets tests/
after_success:
- coveralls
+5
View File
@@ -6,6 +6,11 @@ A tool to create character sheets for Dungeons and Dragons.
.. image:: https://travis-ci.com/canismarko/dungeon-sheets.svg?branch=master
:target: https://travis-ci.com/canismarko/dungeon-sheets
:alt: Build status
.. image:: https://coveralls.io/repos/github/canismarko/dungeon-sheets/badge.svg
:target: https://coveralls.io/github/canismarko/dungeon-sheets
:alt: Test coverage status
.. image:: https://readthedocs.org/projects/dungeon-sheets/badge/?version=latest
:target: https://dungeon-sheets.readthedocs.io/en/latest/?badge=latest
+2
View File
@@ -0,0 +1,2 @@
pytest
pytest-cov
-1
View File
@@ -2,6 +2,5 @@ certifi>=2018.1.18
fdfgen>=0.16
npyscreen
jinja2
pytest
sphinx
pdfrw