mirror of
https://github.com/romanz/amodem.git
synced 2026-02-06 08:38:06 +08:00
CI: fix tox and travis
This commit is contained in:
@@ -12,10 +12,9 @@ install:
|
||||
- pip install coveralls pep8 mock
|
||||
|
||||
script:
|
||||
- pep8 amodem/ scripts/ tests/ amodem-cli
|
||||
- pep8 amodem/ scripts/ tests/
|
||||
- echo "Hello World!" | amodem-cli send -vv -l- -o- | amodem-cli recv -vv -l- -i-
|
||||
- cd tests
|
||||
- coverage run --source=amodem -m py.test -vvs
|
||||
- coverage run --source=amodem --omit="*/__main__.py" -m py.test -vvs tests/
|
||||
|
||||
after_success:
|
||||
- coverage report
|
||||
|
||||
4
tox.ini
4
tox.ini
@@ -9,7 +9,7 @@ deps=
|
||||
pylint
|
||||
six
|
||||
commands=
|
||||
pep8 amodem/ scripts/ tests/ amodem-cli
|
||||
pep8 amodem/ scripts/ tests/
|
||||
pylint --extension-pkg-whitelist=numpy --report=no amodem --rcfile .pylintrc
|
||||
coverage run --source amodem/ -m py.test -v tests/
|
||||
coverage run --source amodem/ --omit="*/__main__.py" -m py.test -v tests/
|
||||
coverage report
|
||||
|
||||
Reference in New Issue
Block a user