Skip to content

Commit

Permalink
execute coveralls only when run through travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Oct 2, 2017
1 parent db577ac commit 12b9dfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ python:
- "3.4"
- "3.5"
- "3.6"
install: pip install tox-travis
install: pip install tox-travis coveralls
script: tox
after_success: coveralls
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ deps=
pytest
pytest-cov
voluptuous
coveralls
commands=
py.test --cov miio
coveralls

[testenv:flake8]
deps=flake8
Expand All @@ -26,4 +24,4 @@ exclude = .git,.tox,__pycache__

[testenv:typing]
deps=mypy
commands=mypy --silent-imports miio
commands=mypy --ignore-missing-imports miio

0 comments on commit 12b9dfd

Please sign in to comment.