diff --git a/HISTORY.md b/HISTORY.md index e69de29..bef1b76 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -0,0 +1 @@ +# HISTORY \ No newline at end of file diff --git a/README.md b/README.md index 3484a1d..65c84b5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # 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. @@ -12,7 +11,7 @@ Provides a simple interface to set up SMTP with your [APIStar](https://github.co ### Example Setup -To send mail messages from your view functions you must include the `MAIL` dictionary in your settings, the mail_component in your component list, and the Mail component as a dependency in your view. Here we have a minimally viable app capable of sending an email message and returning a 204 response code: +To send mail messages from your view functions you must include the 'MAIL' dictionary in your settings, the mail_component in your component list, and the Mail component as a dependency in your view. Here we have a minimally viable app capable of sending an email message and returning a 204 response code: ```python from apistar import Route diff --git a/setup.py b/setup.py index 75d7d17..40f8e6f 100644 --- a/setup.py +++ b/setup.py @@ -27,13 +27,13 @@ setup( packages=find_packages(include=['apistar_mail']), include_package_data=True, install_requires=requirements, - license="MIT license", - zip_safe=False, + license='BSD', keywords='apistar_mail', classifiers=[ 'Development Status :: 1 - Pre-Alpha', + 'Environment :: Web Environment', 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', + 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', diff --git a/travis.yml b/travis.yml new file mode 100644 index 0000000..ec94cf6 --- /dev/null +++ b/travis.yml @@ -0,0 +1,22 @@ +sudo: false +language: python +matrix: + include: + - os: linux + python: 3.5 + env: TOX_ENV=py35 + - os: linux + python: 3.6 + env: TOX_ENV=py36 + - os: linux + python: 3.6 + env: TOX_ENV=flake8 + +install: + - pip install tox coverage codecov + +script: + - tox -e $TOX_ENV + +after_success: + - codecov \ No newline at end of file