mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
One more attempt...
This commit is contained in:
parent
15d156cdaf
commit
1a9dd6cca7
|
@ -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
|
||||||
|
|
5
tox.ini
5
tox.ini
|
@ -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=
|
||||||
|
|
Loading…
Reference in New Issue
Block a user