diff --git a/.travis.yml b/.travis.yml index 644d4cc..3573cc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ install: - pip install tox pytest pytest-cov codecov --user script: - tox + - py.test --cov-config=.coveragerc --cov-report=term --cov ./LabIFSC cache: pip after_success: - codecov \ No newline at end of file diff --git a/tox.ini b/tox.ini index 772a820..4904b75 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,14 @@ envlist = py27,py3 deps = pytest pytest-cov -commands = py.test --cov-config=.coveragerc --cov-report=term --cov {envsitepackagesdir}/LabIFSC +commands = py.test setenv = PYTHONPATH = {toxinidir} passenv = CI TRAVIS - TRAVIS_* \ No newline at end of file + TRAVIS_* + +[pytest] +python_files = tests/*.py +norecursedirs = .tox \ No newline at end of file