Added CI configuration

This commit is contained in:
Vladimir Magamedov 2017-11-15 23:49:57 +02:00
parent f74f4a925a
commit 3bb7d79247
2 changed files with 25 additions and 0 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
sudo: false
language: python
python:
- '3.5'
- '3.6'
install:
- pip install tox-travis
script: tox

17
tox.ini Normal file
View File

@ -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