mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-24 10:34:01 +03:00
updating tox and travis configs
This commit is contained in:
parent
b7467482f9
commit
c1d6127e64
|
@ -1,9 +1,8 @@
|
|||
language: python
|
||||
install:
|
||||
- "pip install ."
|
||||
- "pip install -r requirements-tests.txt"
|
||||
- "pip install tox"
|
||||
script:
|
||||
- tox
|
||||
- coveralls
|
||||
env:
|
||||
- TOXENV=py27
|
||||
|
|
15
tox.ini
15
tox.ini
|
@ -1,6 +1,15 @@
|
|||
[tox]
|
||||
envlist = py27
|
||||
|
||||
[py27]
|
||||
basepython = python2.7
|
||||
commands = coverage run --rcfile=./.coveragerc unit2 discover
|
||||
[testenv]
|
||||
deps=
|
||||
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