Add .gitignore, tox and travis files.
This commit is contained in:
parent
9d20d994a7
commit
adda6b53a1
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*.pyc
|
||||||
|
.tox/
|
||||||
|
__pycache__/
|
5
.travis
Normal file
5
.travis
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
language: python
|
||||||
|
|
||||||
|
before_install: pip install tox
|
||||||
|
|
||||||
|
script: tox
|
22
tox.ini
Normal file
22
tox.ini
Normal 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
|
Loading…
Reference in New Issue
Block a user