mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 04:33:26 +02:00
Updated travis to cover python 3.6-3.8 and integrated with coveralls.
This commit is contained in:
+6
-2
@@ -1,11 +1,15 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7-dev" # 3.7 development branch
|
- "3.7"
|
||||||
|
- "3.8"
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r requirements-testing.txt
|
||||||
- pip install -e .
|
- pip install -e .
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
- pytest
|
- pytest --cov=dungeonsheets tests/
|
||||||
|
after_success:
|
||||||
|
- coveralls
|
||||||
@@ -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
|
.. image:: https://travis-ci.com/canismarko/dungeon-sheets.svg?branch=master
|
||||||
:target: https://travis-ci.com/canismarko/dungeon-sheets
|
: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
|
.. image:: https://readthedocs.org/projects/dungeon-sheets/badge/?version=latest
|
||||||
:target: https://dungeon-sheets.readthedocs.io/en/latest/?badge=latest
|
:target: https://dungeon-sheets.readthedocs.io/en/latest/?badge=latest
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
@@ -2,6 +2,5 @@ certifi>=2018.1.18
|
|||||||
fdfgen>=0.16
|
fdfgen>=0.16
|
||||||
npyscreen
|
npyscreen
|
||||||
jinja2
|
jinja2
|
||||||
pytest
|
|
||||||
sphinx
|
sphinx
|
||||||
pdfrw
|
pdfrw
|
||||||
|
|||||||
Reference in New Issue
Block a user