Skip to content

Commit

Permalink
Add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Decalogue committed Jan 27, 2018
1 parent a08ecb5 commit 2266804
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
@@ -0,0 +1,16 @@
language: python
matrix:
include:
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36

install:
- pip install -U tox twine wheel codecov

script: tox
after_success:
- codecov
24 changes: 24 additions & 0 deletions tox.ini
@@ -0,0 +1,24 @@
[tox]
envlist = py34, py35, py36
[testenv]
passenv =
CI TRAVIS TRAVIS_*
deps =
pytest
flake8
coverage
pytest-cov
codecov
setenv =
PYTHONWARNINGS=all
commands =
py.test --cov=chat --cov-report= {posargs:chat tests}

[testenv:py34]
basepython = python3.4

[testenv:py35]
basepython = python3.5

[testenv:py36]
basepython = python3.6

0 comments on commit 2266804

Please sign in to comment.