mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
updating travis and tox configs
This commit is contained in:
parent
e817f726c2
commit
8fd471dd39
|
@ -1,8 +1,9 @@
|
||||||
language: python
|
language: python
|
||||||
install:
|
install:
|
||||||
- "pip install ."
|
- pip install tox
|
||||||
- "pip install tox"
|
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
env:
|
env:
|
||||||
|
- TOXENV=py26
|
||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
|
- TOXENV=coverage
|
||||||
|
|
29
tox.ini
29
tox.ini
|
@ -1,15 +1,36 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py27
|
envlist=
|
||||||
|
dev, coveralls, py26, py27
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=
|
deps=
|
||||||
unittest2
|
unittest2
|
||||||
|
|
||||||
|
[testenv:dev]
|
||||||
|
basepython=python
|
||||||
|
deps=
|
||||||
|
{[testenv]deps}
|
||||||
|
coverage
|
||||||
|
commands=
|
||||||
|
coverage erase
|
||||||
|
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
|
||||||
|
coverage html --rcfile=./.coveragerc
|
||||||
|
|
||||||
|
[testenv:coveralls]
|
||||||
|
basepython=python2.7
|
||||||
|
deps=
|
||||||
|
{[testenv]deps}
|
||||||
coverage
|
coverage
|
||||||
coveralls
|
coveralls
|
||||||
|
|
||||||
[testenv:py27]
|
|
||||||
commands=
|
commands=
|
||||||
coverage erase
|
coverage erase
|
||||||
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
|
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
|
||||||
coveralls
|
coveralls
|
||||||
coverage erase
|
|
||||||
|
[testenv:py26]
|
||||||
|
commands=
|
||||||
|
unit2 discover tests []
|
||||||
|
|
||||||
|
[testenv:py27]
|
||||||
|
commands=
|
||||||
|
unit2 discover tests []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user