diff --git a/.travis.yml b/.travis.yml index 63efcfd..e478e0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ python: - "2.7" - "2.6" - "pypy" + - "3.4" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: @@ -14,6 +15,7 @@ install: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements/test_27.txt; fi - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install -r requirements/test_27.txt; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -r requirements/test_33.txt; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install -r requirements/test_34.txt; fi # command to run tests, e.g. python setup.py test script: python setup.py test diff --git a/requirements/test_34.txt b/requirements/test_34.txt new file mode 100644 index 0000000..519e4c8 --- /dev/null +++ b/requirements/test_34.txt @@ -0,0 +1,3 @@ +# Requirements for testing Complexity on Python 3.4. + +-r base_test.txt diff --git a/setup.py b/setup.py index 56d5262..107524e 100755 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ history = history.replace(".. :changelog:", "") requirements = [ - 'jinja2==2.7', + 'jinja2>=2.7', 'binaryornot>=0.1.1', 'PyYAML>=3.10' ] @@ -61,6 +61,7 @@ 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', 'Topic :: Internet :: WWW/HTTP :: Site Management', ], test_suite='tests', diff --git a/tox.ini b/tox.ini index ad8e53f..8f50426 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26, py27, py33, pypy +envlist = py26, py27, py33, py34, pypy [testenv:py26] deps = -r{toxinidir}/requirements/test_26.txt @@ -12,3 +12,7 @@ commands = python setup.py test [testenv:py33] deps = -r{toxinidir}/requirements/test_33.txt commands = python setup.py test + +[testenv:py34] +deps = -r{toxinidir}/requirements/test_34.txt +commands = python setup.py test \ No newline at end of file