Add .gitignore, tox and travis files.

This commit is contained in:
Iuri de Silvio 2014-03-29 10:33:09 -03:00
parent 9d20d994a7
commit adda6b53a1
3 changed files with 30 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.pyc
.tox/
__pycache__/

5
.travis Normal file
View File

@ -0,0 +1,5 @@
language: python
before_install: pip install tox
script: tox

22
tox.ini Normal file
View File

@ -0,0 +1,22 @@
[tox]
envlist = py27-bottledev,py27-bottle012,py27-bottle011,py27-bottle010,py27-bottle09,py26,py27,py32,py33,pypy
[testenv]
deps=bottle
commands={envpython} test.py
sitepackages=False
[testenv:py27-bottle09]
deps=bottle>=0.9,<0.10
[testenv:py27-bottle010]
deps=bottle>=0.10,<0.11
[testenv:py27-bottle011]
deps=bottle>=0.11,<0.12
[testenv:py27-bottle012]
deps=bottle>=0.12,<0.13
[testenv:py27-bottledev]
deps=git+https://github.com/defnull/bottle.git#egg=bottle