diff --git a/.travis.yml b/.travis.yml index c25827a..0934039 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 --source=amodem tests/run.py +script: + - cd tests + - coverage run --source=amodem -m py.test -after_success: +after_success: - coveralls 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()