One more attempt...

This commit is contained in:
Roman Mogilatov 2016-11-02 19:16:55 +02:00
parent 15d156cdaf
commit 1a9dd6cca7
2 changed files with 4 additions and 9 deletions

View File

@ -1,16 +1,14 @@
sudo: false sudo: false
language: python
install: install:
- pip install tox - pip install tox
- pip install cython - pip install cython
- make cythonize - make cythonize
script: script:
- tox -v - tox -v
language: python
python: python:
- 2.7 - 3.5
env: env:
- TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1 - TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
- TOXENV=pylint - TOXENV=pylint,flake8,pydocstyle
- TOXENV=flake8
- TOXENV=pydocstyle
- TOXENV=py26,py27,py33,py34,py35,pypy,pypy3 - TOXENV=py26,py27,py33,py34,py35,pypy,pypy3

View File

@ -9,7 +9,7 @@ commands=
unit2 discover tests unit2 discover tests
[testenv:coveralls] [testenv:coveralls]
basepython=python basepython=python3.5
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps= deps=
{[testenv]deps} {[testenv]deps}
@ -22,14 +22,12 @@ commands=
coveralls coveralls
[testenv:pylint] [testenv:pylint]
basepython=python
deps= deps=
pylint pylint
commands= commands=
- pylint -f colorized --rcfile=./.pylintrc dependency_injector - pylint -f colorized --rcfile=./.pylintrc dependency_injector
[testenv:flake8] [testenv:flake8]
basepython=python
deps= deps=
flake8 flake8
commands= commands=
@ -37,7 +35,6 @@ commands=
flake8 --max-complexity=10 examples/ flake8 --max-complexity=10 examples/
[testenv:pydocstyle] [testenv:pydocstyle]
basepython=python
deps= deps=
pydocstyle pydocstyle
commands= commands=