Add travis-ci.org and coverals configuration file
This commit is contained in:
parent
f6678c9eeb
commit
68d53fdbd0
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@ -0,0 +1,13 @@
|
||||
language: python
|
||||
|
||||
install:
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox
|
||||
|
||||
env:
|
||||
- TOXENV=py27
|
||||
- TOXENV=py34
|
||||
- TOXENV=pep8
|
||||
- TOXENV=coveralls
|
@ -3,9 +3,9 @@ hacking>=0.9.2,<0.10
|
||||
coverage>=3.6
|
||||
discover
|
||||
fixtures>=0.3.14
|
||||
python-subunit
|
||||
python-subunit>=0.0.18
|
||||
sphinx>=1.1.2
|
||||
oslosphinx
|
||||
testrepository>=0.0.18
|
||||
testscenarios>=0.4
|
||||
testtools>=0.9.34
|
||||
testtools>=0.9.34
|
||||
|
8
tox.ini
8
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = py33,py27,pep8
|
||||
envlist = py34,py27,pep8
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -21,6 +21,12 @@ commands = {posargs}
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:coveralls]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coveralls
|
||||
deps = coveralls
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user