mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-01 18:38:27 +02:00
30369ce1d4
Project now passes flake8 and black linter (also including more rst cleanup). Moved latex related things to dedicated ``latex.py`` module, and removed the ``makesheets -dF`` call from travis.
21 lines
493 B
YAML
21 lines
493 B
YAML
language: python
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
before_install:
|
|
- sudo apt-get -y install pdftk texlive-latex-base texlive-latex-extra texlive-fonts-recommended
|
|
# command to install dependencies
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install -r requirements-tests.txt
|
|
- pip install -e .
|
|
# command to run tests
|
|
script:
|
|
- pytest --cov=dungeonsheets tests/
|
|
- flake8 dungeonsheets/ --exit-zero
|
|
- cd examples/
|
|
- makesheets -d
|
|
- cd ../
|
|
after_success:
|
|
- coveralls |