Added flake8 CI testing and build status badge to README

master
androiddrew 7 years ago
parent 934cd11e9a
commit f543d67899

@ -8,6 +8,9 @@ matrix:
- os: linux
python: 3.6
env: TOX_ENV=py36
- os: linux
python: 3.6
env: TOX_ENV=flake8
install:
- pip install tox coverage codecov

@ -1,5 +1,8 @@
# apistar-mail
[![Build Status](https://travis-ci.org/androiddrew/apistar-mail.svg?branch=master)](https://travis-ci.org/androiddrew/apistar-mail)
Provides a simple interface to set up SMTP with your [APIStar](https://github.com/encode/apistar) application and send messages from your view functions. Please note this work derives largely from the [Flask-Mail](https://github.com/mattupstate/flask-mail) extension by 'Dan Jacob' and contributors, but has been modified extensively to remove Python 2 support and be used as an APIStar component.

@ -1,5 +1,14 @@
[tox]
envlist = py35,py36
envlist = py35,py36,flake8
[testenv]
deps=pytest
commands=pytest
deps=
pytest
pytest-cov
commands=
pytest --cov
[testenv:flake8]
deps =
flake8
commands = flake8 apistar_mail setup.py
Loading…
Cancel
Save