From 94f180441d64ecf172b2f3d1aef5f83bf528a226 Mon Sep 17 00:00:00 2001 From: kjohnson3 Date: Tue, 28 Feb 2017 14:22:48 -0800 Subject: [PATCH] update tox, coveragerc, and travis --- .coveragerc | 4 +++- .travis.yml | 4 +++- tox.ini | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.coveragerc b/.coveragerc index 7a7536a..e062d34 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,2 +1,4 @@ [run] -omit=sqlalchemy_jsonapi/tests/* \ No newline at end of file +omit=sqlalchemy_jsonapi/tests/*, .tox/*, sqlalchemy_jsonapi/unittests/* +[report] +show_missing = True \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 5637b8d..1a7651d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,6 @@ python: install: - "pip install ." - "pip install -r requirements.txt" -script: py.test \ No newline at end of file +script: + - "py.test /sqlalchemy_jsonapi/tests/" + - "nosetests /sqlalchemy_jsonapi/unittests/" \ No newline at end of file diff --git a/tox.ini b/tox.ini index 2cfd3db..6df05a8 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,11 @@ envlist = py27,py3,dandruff [testenv] use_develop=True deps=-r{toxinidir}/requirements.txt -commands=py.test +commands= + py.test {toxinidir}/sqlalchemy_jsonapi/tests/ + nosetests --with-coverage --cover-package=sqlalchemy_jsonapi {toxinidir}/sqlalchemy_jsonapi/unittests/ [testenv:dandruff] deps=-r{toxinidir}/requirements.txt flake8 -commands=flake8 {toxinidir}/sqlalchemy_jsonapi +commands=flake8 {toxinidir}/sqlalchemy_jsonapi \ No newline at end of file