From 1a52e4f714e5fcc37ae1c8820cbb7b78299484de Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Fri, 18 Mar 2016 12:36:55 -0700 Subject: [PATCH] add circle.yml --- circle.yml | 7 +++++++ setup.py | 4 ++++ tox.ini | 5 +++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..abb3864 --- /dev/null +++ b/circle.yml @@ -0,0 +1,7 @@ +dependencies: + pre: + - pip install tox + +test: + override: + - tox diff --git a/setup.py b/setup.py index e00d872..89e6645 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,10 @@ setup( 'requests', 'BeautifulSoup4', ], + tests_require=[ + 'tox', + 'mock', + ], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', diff --git a/tox.ini b/tox.ini index be4714f..00aa3b0 100644 --- a/tox.ini +++ b/tox.ini @@ -2,5 +2,6 @@ [tox] envlist = py26,py27,py33,py34,py35 [testenv] -deps=mock -commands=python -m unittest discover +deps = + py{26,27}: mock +commands = python -m unittest discover