mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-28 04:23:59 +03:00
updating tox and travis configs
This commit is contained in:
parent
b7467482f9
commit
c1d6127e64
|
@ -1,9 +1,8 @@
|
||||||
language: python
|
language: python
|
||||||
install:
|
install:
|
||||||
- "pip install ."
|
- "pip install ."
|
||||||
- "pip install -r requirements-tests.txt"
|
- "pip install tox"
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
- coveralls
|
|
||||||
env:
|
env:
|
||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
|
|
15
tox.ini
15
tox.ini
|
@ -1,6 +1,15 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py27
|
envlist = py27
|
||||||
|
|
||||||
[py27]
|
[testenv]
|
||||||
basepython = python2.7
|
deps=
|
||||||
commands = coverage run --rcfile=./.coveragerc unit2 discover
|
unittest2
|
||||||
|
coverage
|
||||||
|
coveralls
|
||||||
|
|
||||||
|
[testenv:py27]
|
||||||
|
commands=
|
||||||
|
coverage erase
|
||||||
|
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
|
||||||
|
coveralls
|
||||||
|
coverage erase
|
||||||
|
|
Loading…
Reference in New Issue
Block a user