From 5d44ae93f19d358f88f29a9ffdcac24d75d59eb5 Mon Sep 17 00:00:00 2001 From: Grokzen Date: Tue, 9 Jun 2015 22:34:23 +0200 Subject: [PATCH] Move tox section from readme into own file in docs/ --- README.md | 14 +------------- docs/Tox.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 docs/Tox.md diff --git a/README.md b/README.md index 6f820349..21a5ea12 100644 --- a/README.md +++ b/README.md @@ -90,19 +90,7 @@ All tests are currently built around a 6 redis server cluster setup (3 masters + The easiest way to setup a cluster is to use either a Docker or Vagrant. They are both described in [Setup a redis cluster. Manually, Docker & Vagrant](docs/Cluster_Setup.md). - - -### Tox - Multi environment testing - -Tox is the easiest way to run all tests because it will manage all dependencies and run the correct test command for you. - -TravisCI will use tox to run tests on all supported python & hiredis versions. - -Install tox with `pip install tox` - -To run all environments you need all supported python versions installed on your machine. (See supported python versions list) and you also need the python-dev package for all python versions to build hiredis. - -To run a specific python version use either `tox -e py27` or `tox -e py34` +To run all tests in all supported environments with `tox` read this [Tox multienv testing](docs/Tox.md) diff --git a/docs/Tox.md b/docs/Tox.md new file mode 100644 index 00000000..629e744b --- /dev/null +++ b/docs/Tox.md @@ -0,0 +1,11 @@ +# Tox - Multi environment testing + +Tox is the easiest way to run all tests because it will manage all dependencies and run the correct test command for you. + +TravisCI will use tox to run tests on all supported python & hiredis versions. + +Install tox with `pip install tox` + +To run all environments you need all supported python versions installed on your machine. (See supported python versions list) and you also need the python-dev package for all python versions to build hiredis. + +To run a specific python version use either `tox -e py27` or `tox -e py34`