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 - os: linux
python: 3.6 python: 3.6
env: TOX_ENV=py36 env: TOX_ENV=py36
- os: linux
python: 3.6
env: TOX_ENV=flake8
install: install:
- pip install tox coverage codecov - pip install tox coverage codecov

@ -1,5 +1,8 @@
# apistar-mail # 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. 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] [tox]
envlist = py35,py36 envlist = py35,py36,flake8
[testenv] [testenv]
deps=pytest deps=
commands=pytest pytest
pytest-cov
commands=
pytest --cov
[testenv:flake8]
deps =
flake8
commands = flake8 apistar_mail setup.py
Loading…
Cancel
Save