From 0a0c66ca9ebb64603495ef88c20f1bf2886b5e71 Mon Sep 17 00:00:00 2001 From: Moulik Aggarwal Date: Wed, 31 Oct 2018 06:30:13 +0530 Subject: [PATCH] Automate pytest using tox (#934) * Automate pytest using tox * requirements.txt file updated * Changed test_requirements.txt and tox.ini * Added python 3.4 in tox file --- test_requirements.txt | 1 + tox.ini | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tox.ini diff --git a/test_requirements.txt b/test_requirements.txt index 26838f97..2f8654c6 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -8,3 +8,4 @@ pytest-timeout>=1.3 psutil>=5.4 pygments>=2.2 colorama>=0.3 +tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..e4539d45 --- /dev/null +++ b/tox.ini @@ -0,0 +1,7 @@ +[tox] +envlist=py27,py34,py35,py36,py37 + +[testenv] +changedir=pytests +deps=-rtest_requirements.txt +commands=pytest