bring tox/travis in sync with txaio
This commit is contained in:
47
.travis.yml
47
.travis.yml
@@ -6,30 +6,30 @@ install:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- TOX_ENV=flake8
|
- TOX_ENV=flake8
|
||||||
- TOX_ENV=pypy-twtrunk
|
|
||||||
- TOX_ENV=pypy-trollius
|
|
||||||
- TOX_ENV=py27-twtrunk
|
|
||||||
- TOX_ENV=py27-trollius
|
|
||||||
- TOX_ENV=py33-twcurrent
|
|
||||||
- TOX_ENV=py33-twtrunk
|
|
||||||
- TOX_ENV=py33-trollius
|
|
||||||
- TOX_ENV=py34-twcurrent
|
|
||||||
- TOX_ENV=py34-twtrunk
|
|
||||||
- TOX_ENV=py34-asyncio
|
|
||||||
# no cpy35 on travis yet! (09/12/2015)
|
|
||||||
# - TOX_ENV=py35-twcurrent
|
|
||||||
# - TOX_ENV=py35-twtrunk
|
|
||||||
# - TOX_ENV=py35-asyncio
|
|
||||||
- TOX_ENV=pypy-tw121
|
|
||||||
- TOX_ENV=pypy-tw132
|
|
||||||
- TOX_ENV=pypy-twcurrent
|
|
||||||
- TOX_ENV=py26-tw121
|
|
||||||
- TOX_ENV=py26-tw132
|
|
||||||
- TOX_ENV=py26-twcurrent
|
|
||||||
- TOX_ENV=py26-trollius
|
|
||||||
- TOX_ENV=py27-tw121
|
- TOX_ENV=py27-tw121
|
||||||
- TOX_ENV=py27-tw132
|
- TOX_ENV=py27-tw132
|
||||||
- TOX_ENV=py27-twcurrent
|
- TOX_ENV=py27-tw154
|
||||||
|
- TOX_ENV=py27-twtrunk
|
||||||
|
- TOX_ENV=py27-asyncio
|
||||||
|
- TOX_ENV=py34-tw154
|
||||||
|
- TOX_ENV=py34-twtrunk
|
||||||
|
- TOX_ENV=py34-asyncio
|
||||||
|
- TOX_ENV=pypy-tw121
|
||||||
|
- TOX_ENV=pypy-tw132
|
||||||
|
- TOX_ENV=pypy-tw154
|
||||||
|
- TOX_ENV=pypy-twtrunk
|
||||||
|
- TOX_ENV=pypy-asyncio
|
||||||
|
- TOX_ENV=py26-tw121
|
||||||
|
- TOX_ENV=py26-tw132
|
||||||
|
- TOX_ENV=py26-tw154
|
||||||
|
- TOX_ENV=py26-asyncio
|
||||||
|
- TOX_ENV=py33-tw154
|
||||||
|
- TOX_ENV=py33-twtrunk
|
||||||
|
- TOX_ENV=py33-asyncio
|
||||||
|
# Travis still lacks CPy 3.5 currently (09/25/15)
|
||||||
|
# - TOX_ENV=py35-tw154
|
||||||
|
# - TOX_ENV=py35-twtrunk
|
||||||
|
# - TOX_ENV=py35-asyncio
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tox -c tox.ini -e $TOX_ENV
|
- tox -c tox.ini -e $TOX_ENV
|
||||||
@@ -37,6 +37,9 @@ script:
|
|||||||
after_script:
|
after_script:
|
||||||
- codecov
|
- codecov
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
|||||||
43
tox.ini
43
tox.ini
@@ -1,12 +1,12 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
flake8
|
flake8
|
||||||
{pypy,py27,py33}-{twtrunk}
|
py26-{tw121,tw132,tw154,asyncio}
|
||||||
{pypy,py26,py27,py33}-{trollius}
|
py27-{tw121,tw132,tw154,twtrunk,asyncio}
|
||||||
{py34,py35}-{twtrunk,asyncio}
|
pypy-{tw121,tw132,tw154,twtrunk,asyncio}
|
||||||
py26-{tw121,tw132,tw154}
|
py33-{tw154,twtrunk,asyncio}
|
||||||
{pypy,py27}-{tw121,tw132,twcurrent}
|
py34-{tw154,twtrunk,asyncio}
|
||||||
{py33,py34,py35}-twcurrent
|
py35-{tw154,twtrunk,asyncio}
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
@@ -22,38 +22,47 @@ deps =
|
|||||||
git+https://github.com/tavendo/txaio
|
git+https://github.com/tavendo/txaio
|
||||||
|
|
||||||
; twisted dependencies
|
; twisted dependencies
|
||||||
|
tw121: twisted==12.1.0
|
||||||
|
tw132: twisted==13.2.0
|
||||||
|
tw154: twisted==15.4.0
|
||||||
twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
|
twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
|
||||||
tw121: Twisted==12.1
|
{tw121,tw132,tw154,twtrunk}: pytest-twisted
|
||||||
tw132: Twisted==13.2
|
|
||||||
tw154: Twisted==15.4
|
|
||||||
twcurrent: Twisted
|
|
||||||
|
|
||||||
; asyncio dependencies
|
; asyncio dependencies
|
||||||
asyncio,trollius: pytest
|
py26-asyncio: trollius>=2.0
|
||||||
trollius: trollius>=0.1.2
|
py26-asyncio: ordereddict
|
||||||
trollius: futures>=2.1.5
|
py27-asyncio: trollius>=2.0
|
||||||
|
pypy-asyncio: trollius>=2.0
|
||||||
|
py33-asyncio: asyncio>=3.4.3
|
||||||
|
asyncio: pytest
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
sh -c "which python"
|
sh -c "which python"
|
||||||
python -V
|
python -V
|
||||||
coverage --version
|
coverage --version
|
||||||
asyncio,trollius: coverage run {envbindir}/py.test autobahn/
|
asyncio: coverage run {envbindir}/py.test autobahn/
|
||||||
twtrunk,twcurrent,tw121,tw132,twcurrent: coverage run {envbindir}/trial autobahn
|
tw121,tw132,tw154,twtrunk: coverage run {envbindir}/trial autobahn
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
whitelist_externals = sh
|
whitelist_externals = sh
|
||||||
|
|
||||||
setenv =
|
setenv =
|
||||||
asyncio,trollius: USE_ASYNCIO = 1
|
asyncio: USE_ASYNCIO = 1
|
||||||
twtrunk,twcurrent,tw121,tw132,twcurrent: USE_TWISTED = 1
|
tw121,tw132,tw154,twtrunk: USE_TWISTED = 1
|
||||||
|
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
|
|
||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
pep8-naming
|
pep8-naming
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
sh -c "which python"
|
sh -c "which python"
|
||||||
python -V
|
python -V
|
||||||
flake8 --version
|
flake8 --version
|
||||||
; These ignores will be removed when they are fixed and we are flake8-clean
|
; These ignores will be removed when they are fixed and we are flake8-clean
|
||||||
flake8 --ignore=E501,N801,N802,N803,N805,N806 autobahn
|
flake8 --ignore=E501,N801,N802,N803,N805,N806 autobahn
|
||||||
|
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
|||||||
Reference in New Issue
Block a user