diff --git a/.travis.yml b/.travis.yml index 2455552..3084653 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,13 @@ python: - "3.4" - "3.5" # command to install dependencies -install: "pip install -r requirements.txt" +install: | + if [ "$TRAVIS_PYTHON_VERSION" == 3.2 ] + then + pip install "setuptools<30" + fi + + pip install -r requirements.txt + # command to run tests script: "python setup.py test" diff --git a/setup.py b/setup.py index d6cb442..e8820a0 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,8 @@ tests_require = ['nose', 'mock', 'responses'] +# No real changes. Will CI succeed on Python 3.2? It did before. + if sys.version_info < (2, 7): tests_require.append('unittest2')