mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +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
|
||||
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
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
pytest
|
||||
pytest-cov
|
||||
@@ -2,6 +2,5 @@ certifi>=2018.1.18
|
||||
fdfgen>=0.16
|
||||
npyscreen
|
||||
jinja2
|
||||
pytest
|
||||
sphinx
|
||||
pdfrw
|
||||
|
||||
Reference in New Issue
Block a user