Fix failed builds

This commit is contained in:
Alen Mistric 2018-09-16 05:51:58 +02:00
parent d42cb93775
commit 0551e4e3a5
2 changed files with 30 additions and 20 deletions

View File

@ -1,5 +1,27 @@
os: linux
language: python
sudo: false # faster builds
before_install: pip install tox
matrix:
include:
- python: 3.6
env: TOXENV=py,devel
- python: 3.5
env: TOXENV=py,devel
- python: 3.4
env: TOXENV=py,devel
- python: 2.7
env: TOXENV=py,devel
script: tox
install:
- pip install tox
script:
- tox
branches:
only:
- master
notifications:
email: false

24
tox.ini
View File

@ -1,22 +1,10 @@
[tox]
envlist = py27-bottledev,py27-bottle012,py27-bottle011,py27-bottle010,py27-bottle09,py26,py27,py32,py33,pypy
envlist =
py{36,35,34,27,py}
py{36,27}-devel
[testenv]
deps=bottle
commands={envpython} test.py
sitepackages=False
deps =
bottle
[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
devel: https://github.com/bottlepy/bottle/archive/master.zip