diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bcf9923 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +sudo: false +language: python +python: +- '3.5' +- '3.6' +install: +- pip install tox-travis +script: tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..bc46174 --- /dev/null +++ b/tox.ini @@ -0,0 +1,17 @@ +[tox] +envlist = py{35,36},flake8 + +[testenv] +commands = py.test +deps = + pytest + pytest-asyncio + +[testenv:flake8] +commands = flake8 grpclib tests setup.py +deps = + flake8 + +[travis] +python = + 3.5: py35,flake8