add tests coverage

This commit is contained in:
Roman Zeyde
2014-08-05 17:27:29 +03:00
parent 2e154d50c6
commit 1fdf8d76dd
2 changed files with 8 additions and 2 deletions

View File

@@ -2,8 +2,12 @@ language: python
python:
- "2.7"
install:
install:
- "pip install ."
- "pip install -r requirements.txt"
- "pip install coveralls"
script: py.test -vvv
script: coverage run --source=amodem tests/run.py
after_success:
- coveralls

2
tests/run.py Normal file
View File

@@ -0,0 +1,2 @@
import pytest
pytest.main()