Add travis-ci.org and coverals configuration file

This commit is contained in:
Alvaro Lopez Garcia 2015-03-03 17:09:04 +01:00
parent f6678c9eeb
commit 68d53fdbd0
3 changed files with 22 additions and 3 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
language: python
install:
- pip install tox
script:
- tox
env:
- TOXENV=py27
- TOXENV=py34
- TOXENV=pep8
- TOXENV=coveralls

View File

@ -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

View File

@ -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