From f9c0444e83f54f6a2ecd28daecd9aa909d7cbf59 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 5 Aug 2014 18:09:55 +0300 Subject: [PATCH] run from tests --- .travis.yml | 9 +++++---- tests/run.py | 2 -- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 tests/run.py 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()