basho/riak-python-client — pull request #392 by javajolt (2014-12-31 18:48:31+00:00)
Title: CLIENTS-115: Use pyenv for multiple Python versions and tox to test them

Traditionally we've targeted only Python 2.7.x as our supported build version. In fact the native Ubuntu 12.04 LTS version 2.7.3 is the only one tested on buildbot. Now we'll use `pyenv` to virtualize 4 versions and actually test all of them both with and without security:
- 2.6.9
- 2.7.9
- 3.3.6
- 3.4.2

The real downside is, naturally, that the tests will take 4x longer, but this way we can catch changes which break one platform or another.

NOTE: Because of the older version of OpenSSL installed on the builder we need to allow older TLS versions to be supported in Riak since the Python 3 versions use the builtin `ssl` library instead of `PyOpenSSL`.