Enable CI (#28)
This commit is contained in:
@@ -67,3 +67,6 @@ target/
|
|||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
venv/
|
venv/
|
||||||
|
|
||||||
|
# Tox
|
||||||
|
.tox/
|
||||||
|
|||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
language: python
|
||||||
|
cache: pip
|
||||||
|
python:
|
||||||
|
- '2.7'
|
||||||
|
- '3.4'
|
||||||
|
- '3.5'
|
||||||
|
- '3.6'
|
||||||
|
install:
|
||||||
|
- pip install .
|
||||||
|
- pip install -r requirements-dev.txt
|
||||||
|
script:
|
||||||
|
- nosetests
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
slack:
|
||||||
|
secure: hqbqt/zePs9ognCQT/IlLmRBpTxudSBR88GK/Qu0GOJZhuBsFvUbHaDKkTsIPYoLsZPKYss0tpKsRQJG0GlO8da7d/raR4gSNI5y0ypso5ttN+OgLf4pa1bUwz0Q39aDFcuSG9aZEU134hk19KYFxz3h+gLI5C51mnnm2qOK1goq+ZNTtIz42y7kxRnF4opExLS9+ZTUxV2eA5lEvgoju6PVXfu1CkzPZKZt3XXnl3G2LGo4pitemiOIBSiVHLuakLmZ5z7IyVTbsB2Sh+2HoTdvGpdxNJcy0wDbvnZ0ZE3otrCkggaTQJ8uMEygsx8JafmDCC3sAosCqftj+SG9bG9LSmypizmipNEClSq5iKEtniGhoR1Imzbk7b5yth6q3TETY/fYFt9hATDBbn+IS0ZD0kJaVfN5Tgi6fiFtKbHPl9XxdLDffPDv5/AvSlY0CaDpTeN8j3YkMHSyuSN+u+qyai5KTWi4b2WZDY5MklTO6/3Kems/rYatCYjthzW94Di2rNDxnESeUmWy94npRxYg+HBVlVO5kG/ujHwwT5jU6icOcIJrtQAnJfTApyrEvqYtHUw0WATq/aTSYDEwQvJtV9xPX1R3XuDSZ+MBXobo+nplStkMdo0FmHcYrwi0oAohnmMu0jFMuByoY8crawrKB3EC/0/BHJvRs6QTWSE=
|
||||||
@@ -1,4 +1,10 @@
|
|||||||
# PyAPNs2
|
# PyAPNs2
|
||||||
|
|
||||||
|
[](https://pypi.python.org/pypi/apns2)
|
||||||
|
[](https://pypi.python.org/pypi/apns2)
|
||||||
|
[](https://travis-ci.org/Pr0Ger/PyAPNs2)
|
||||||
|
[](https://codeclimate.com/github/Pr0Ger/PyAPNs2)
|
||||||
|
|
||||||
Python library for interacting with the Apple Push Notification service (APNs) via HTTP/2 protocol
|
Python library for interacting with the Apple Push Notification service (APNs) via HTTP/2 protocol
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@@ -42,6 +48,13 @@ pip install -r requirements-dev.txt
|
|||||||
python -m unittest discover test
|
python -m unittest discover test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can use `tox` for running tests with all supported Python versions:
|
||||||
|
```shell
|
||||||
|
pyenv install 2.7.13 && pyenv install 3.3.6 && pyenv install 3.4.6 && pyenv install 3.5.3 & pyenv install 3.6.0
|
||||||
|
pyenv local 3.6.0 3.5.3 3.4.6 3.3.6 2.7.13
|
||||||
|
tox
|
||||||
|
```
|
||||||
|
|
||||||
To run the linter:
|
To run the linter:
|
||||||
```shell
|
```shell
|
||||||
pip install pylint
|
pip install pylint
|
||||||
|
|||||||
@@ -22,9 +22,10 @@ setup(
|
|||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
'License :: OSI Approved :: MIT License',
|
'License :: OSI Approved :: MIT License',
|
||||||
'Programming Language :: Python :: 3.3',
|
'Programming Language :: Python :: 2.7'
|
||||||
'Programming Language :: Python :: 3.4',
|
'Programming Language :: Python :: 3.4',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
|
'Programming Language :: Python :: 3.6'
|
||||||
'Topic :: Software Development :: Libraries',
|
'Topic :: Software Development :: Libraries',
|
||||||
],
|
],
|
||||||
description='A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol'
|
description='A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol'
|
||||||
|
|||||||
Reference in New Issue
Block a user