Make pylast a package. Move tests into a directory. Start using pytest

and tox. Use setuptools instead of distutils.
This commit is contained in:
Ivan Malison 2015-01-05 15:52:02 -08:00
parent 123951517a
commit 387220c1d6
8 changed files with 23 additions and 9 deletions

View file

@ -13,7 +13,7 @@ install:
- travis_retry pip install -r test_requirements.txt
- travis_retry pip install coveralls
script: coverage run --source=pylast ./test_pylast.py
script: coverage run --source=pylast ./tests/test_pylast.py
after_success:
- coveralls
@ -24,7 +24,7 @@ after_script:
- coverage report
- ./check.sh
- pip install clonedigger
- clonedigger pylast.py
- clonedigger pylast
- grep "Clones detected" output.html
- grep "lines are duplicates" output.html