diff --git a/.travis.yml b/.travis.yml index 158cc2f..3f003d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,12 @@ python: - "2.7" install: - - "pip install ." - - "pip install -r requirements.txt" - - "pip install coveralls" + - pip install . + - pip install coveralls -script: coverage run tests/run.py +script: + - cd tests + - coverage run --source=amodem -m py.test after_success: - coverage report diff --git a/tests/run.py b/tests/run.py deleted file mode 100644 index 0542d25..0000000 --- a/tests/run.py +++ /dev/null @@ -1,2 +0,0 @@ -import pytest -pytest.main()