kopia lustrzana https://github.com/Yakifo/amqtt
tox and travis are not used anymore
rodzic
6f47441fdd
commit
a4655ddf25
26
.travis.yml
26
.travis.yml
|
@ -1,26 +0,0 @@
|
|||
dist: xenial
|
||||
sudo: false
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
- "3.9"
|
||||
- "nightly"
|
||||
matrix:
|
||||
allow_failures:
|
||||
- python: "nightly"
|
||||
include:
|
||||
- python: "3.7"
|
||||
env: TOXENV=py37
|
||||
dist: xenial
|
||||
sudo: true
|
||||
|
||||
install:
|
||||
- pip install coveralls tox-travis
|
||||
script:
|
||||
- tox
|
||||
after_success:
|
||||
- coveralls
|
|
@ -3,7 +3,6 @@ include *.txt
|
|||
include license.txt
|
||||
include samples/passwd
|
||||
include tests/plugins/passwd
|
||||
include tox.ini
|
||||
|
||||
recursive-include docs *.css
|
||||
recursive-include docs *.html
|
||||
|
|
33
tox.ini
33
tox.ini
|
@ -1,33 +0,0 @@
|
|||
[flake8]
|
||||
ignore =
|
||||
E265, # block comment should start with '# ' (~64 warnings)
|
||||
E501, # line too long (~664 warnings)
|
||||
|
||||
[tox]
|
||||
envlist =
|
||||
py36,
|
||||
py37,
|
||||
py38,
|
||||
py39,
|
||||
coverage,
|
||||
flake8,
|
||||
check-manifest
|
||||
|
||||
[testenv]
|
||||
deps = nose
|
||||
commands = nosetests
|
||||
|
||||
[testenv:flake8]
|
||||
deps = flake8
|
||||
commands = flake8
|
||||
|
||||
[testenv:coverage]
|
||||
commands =
|
||||
python -m coverage erase
|
||||
python -m coverage run --branch --source=hbmqtt -m unittest
|
||||
python -m coverage report
|
||||
deps = coverage
|
||||
|
||||
[testenv:check-manifest]
|
||||
deps = check-manifest
|
||||
commands = check-manifest
|
Ładowanie…
Reference in New Issue