Add py35 to TOXENVs

This commit is contained in:
Roman Mogilatov 2015-10-12 17:52:30 +03:00
parent 624e1cef63
commit 4237184767
2 changed files with 18 additions and 49 deletions

View File

@ -1,12 +1,9 @@
sudo: false
language: python language: python
install: install: pip install tox
- pip install tox script: tox
script: python:
- tox - 3.5
include:
- python: 3.5
env:
- TOXENV=py35
env: env:
- TOXENV=coveralls - TOXENV=coveralls
- TOXENV=pylint - TOXENV=pylint
@ -17,5 +14,6 @@ env:
- TOXENV=py32 - TOXENV=py32
- TOXENV=py33 - TOXENV=py33
- TOXENV=py34 - TOXENV=py34
- TOXENV=py35
- TOXENV=pypy - TOXENV=pypy
- TOXENV=pypy3 - TOXENV=pypy3

53
tox.ini
View File

@ -1,21 +1,31 @@
[tox] [tox]
envlist= envlist=
dev, coveralls, pylint, flake8, pep257, py26, py27, py32, py33, py34, py35, pypy, pypy3 coveralls, pylint, flake8, pep257, py26, py27, py32, py33, py34, py35, pypy, pypy3
[testenv] [testenv]
deps= deps=
unittest2 unittest2
commands=
unit2 discover tests []
[testenv:dev] [testenv:dev]
basepython=python2.7 basepython=python2.7
deps= deps=
{[testenv]deps} {[testenv]deps}
coverage coverage
flake8
pep257
commands= commands=
coverage erase coverage erase
coverage run --rcfile=./.coveragerc -m unittest2 discover tests [] coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
coverage html --rcfile=./.coveragerc coverage html --rcfile=./.coveragerc
flake8 --max-complexity=8 dependency_injector/
flake8 --max-complexity=8 examples/
pep257 dependency_injector/
pep257 examples/
[testenv:coveralls] [testenv:coveralls]
basepython=python2.7 basepython=python2.7
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
@ -41,6 +51,7 @@ deps=
flake8 flake8
commands= commands=
flake8 --max-complexity=8 dependency_injector/ flake8 --max-complexity=8 dependency_injector/
flake8 --max-complexity=8 examples/
[testenv:pep257] [testenv:pep257]
basepython=python2.7 basepython=python2.7
@ -49,43 +60,3 @@ deps=
commands= commands=
pep257 dependency_injector/ pep257 dependency_injector/
pep257 examples/ pep257 examples/
[testenv:py26]
basepython=python2.6
commands=
unit2 discover tests []
[testenv:py27]
basepython=python2.7
commands=
unit2 discover tests []
[testenv:py32]
basepython=python3.2
commands=
unit2 discover tests []
[testenv:py33]
basepython=python3.3
commands=
unit2 discover tests []
[testenv:py34]
basepython=python3.4
commands=
unit2 discover tests []
[testenv:py35]
basepython=python3.5
commands=
unit2 discover tests []
[testenv:pypy]
basepython=pypy
commands=
unit2 discover tests []
[testenv:pypy3]
basepython=pypy3
commands=
unit2 discover tests []