Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
Add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter de Bie committed Jan 19, 2021
1 parent efdafa8 commit 289eb00
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
omit = locast2dvr/ssdp/server.py
16 changes: 15 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,46 @@
attrs==20.3.0
autopep8==1.5.4
bandit==1.6.2
bleach==3.2.1
bump2version==1.0.1
certifi==2020.6.20
chardet==3.0.4
chevron==0.13.1
click==7.1.2
click-config-file==0.6.0
click-option-group==0.5.1
colorama==0.4.4
configobj==5.0.6
coverage==5.3.1
docutils==0.16
Flask==1.1.2
freezegun==1.0.0
fuzzywuzzy==0.18.0
gitdb==4.0.5
GitPython==3.1.8
idna==2.10
iniconfig==1.1.1
iso8601==0.1.13
itsdangerous==1.1.0
Jinja2==2.11.2
keyring==21.5.0
m3u8==0.7.1
MarkupSafe==1.1.1
mock==4.0.3
packaging==20.7
Paste==3.5.0
pbr==5.5.0
pkginfo==1.6.1
pluggy==0.13.1
pudb==2020.1
py==1.10.0
pycodestyle==2.6.0
Pygments==2.7.2
pygount==1.2.4
pyparsing==2.4.7
pytest==6.2.1
pytest-cov==2.10.1
python-dateutil==2.8.1
python-engineio==3.13.2
python-socketio==4.6.0
PyYAML==5.3.1
Expand All @@ -39,11 +52,12 @@ six==1.15.0
smmap==3.0.4
stevedore==3.2.2
tabulate==0.8.7
termcolor==1.1.0
toml==0.10.1
tqdm==4.54.0
twine==3.2.0
urllib3==1.25.10
urwid==2.1.2
waitress==1.4.4
webencodings==0.5.1
Werkzeug==1.0.1
wheel
2 changes: 2 additions & 0 deletions tools/release
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
pytest -s --verbose --cov=locast2dvr --cov-report term-missing tests && \
coverage report --fail-under=100 &&
bump2version --list --commit --tag patch locast2dvr/__init__.py && \
git push && git push --tags && \
rm -rf dist build && python setup.py sdist bdist_wheel && python -m twine upload dist/*
Expand Down
13 changes: 13 additions & 0 deletions travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: python
python:
- "3.7"
- "3.8"
- "3.9"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install --editable .
# command to run tests
script:
- pytest -s --verbose --cov=locast2dvr --cov-report term-missing tests
- coverage report --fail-under=100

0 comments on commit 289eb00

Please sign in to comment.