Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Move tox section from readme into own file in docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
Grokzen committed Jun 9, 2015
1 parent b50f343 commit 5d44ae9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)



Expand Down
11 changes: 11 additions & 0 deletions docs/Tox.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 5d44ae9

Please sign in to comment.