From 20635bdec8ac93a5cfead902bc642e1c95b360e3 Mon Sep 17 00:00:00 2001 From: Samuel Dion-Girardeau Date: Thu, 11 Aug 2016 22:39:29 -0400 Subject: [PATCH] Explicitly define all supported python environment With only 3.5, travis-ci works, because 2.7, 3.3 and 3.4 interpreters are present by default, but it might break randomly at some point. Definining all the versions explicitly, and using the tox-travis plugin is more robust. Also, 2.6 was removed from the "officially supported" python versions, as the tests are not run (and don't pass). --- .travis.yml | 5 ++++- README.rst | 2 +- setup.py | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ab464a..d0ad25a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,12 @@ language: python python: + - "2.7" + - "3.3" + - "3.4" - "3.5" sudo: false install: - - pip install tox + - pip install tox-travis script: - tox services: diff --git a/README.rst b/README.rst index e8dc2cf..bb9eca7 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ Requirements ------------ * Redis. -* Python 2.6, 2.7 or 3.3+. +* Python 2.7 or 3.3+. Installation ------------ diff --git a/setup.py b/setup.py index 562b643..d0a1811 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,6 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3',