From 3bb7d79247240033501790586831686744fb2ab6 Mon Sep 17 00:00:00 2001 From: Vladimir Magamedov Date: Wed, 15 Nov 2017 23:49:57 +0200 Subject: [PATCH] Added CI configuration --- .travis.yml | 8 ++++++++ tox.ini | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .travis.yml create mode 100644 tox.ini 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