feat: adding travis
This commit is contained in:
parent
9dd9e7607d
commit
a5ff81b2a2
|
@ -0,0 +1,2 @@
|
||||||
|
[report]
|
||||||
|
omit = *noseplugin*
|
|
@ -0,0 +1,12 @@
|
||||||
|
# EditorConfig helps developers define and maintain consistent
|
||||||
|
# coding styles between different editors and IDEs
|
||||||
|
# editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*.{py,rst,txt}]
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
indent_size = 4
|
||||||
|
end_of_line = LF
|
||||||
|
charset = utf-8
|
||||||
|
insert_final_newline = true
|
|
@ -0,0 +1,11 @@
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
install:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r test-requirements.txt
|
||||||
|
script:
|
||||||
|
- nosetests
|
||||||
|
- flake8 pywebpush
|
||||||
|
after_success:
|
||||||
|
- codecov
|
|
@ -1,3 +1,7 @@
|
||||||
|
## 0.3 (2016-04-27)
|
||||||
|
feat: added travis, normalized directories
|
||||||
|
|
||||||
|
|
||||||
## 0.2 (2016-04-27)
|
## 0.2 (2016-04-27)
|
||||||
feat: Added tests, restructured code
|
feat: Added tests, restructured code
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
[![Build_Status](https://travis-ci.org/jrconlin/pywebpush.svg?branch=master)](https://travis-ci.org/jrconlin/pywebpush)
|
||||||
|
|
||||||
# Webpush Data encryption library for Python
|
# Webpush Data encryption library for Python
|
||||||
|
|
||||||
This is a work in progress.
|
This is a work in progress.
|
||||||
|
|
|
@ -7,7 +7,7 @@ from mock import patch
|
||||||
from nose.tools import eq_, ok_
|
from nose.tools import eq_, ok_
|
||||||
import pyelliptic
|
import pyelliptic
|
||||||
|
|
||||||
from webpush import WebPusher, WebPushException
|
from pywebpush import WebPusher, WebPushException
|
||||||
|
|
||||||
|
|
||||||
class WebpushTestCase(unittest.TestCase):
|
class WebpushTestCase(unittest.TestCase):
|
|
@ -1,3 +1,4 @@
|
||||||
http-ece==0.5.0
|
http-ece==0.5.0
|
||||||
python-jose==0.5.6
|
python-jose==0.5.6
|
||||||
requests==2.9.1
|
requests==2.9.1
|
||||||
|
flake8
|
||||||
|
|
|
@ -5,4 +5,4 @@ cover-tests=True
|
||||||
cover-erase=True
|
cover-erase=True
|
||||||
with-coverage=True
|
with-coverage=True
|
||||||
detailed-errors=True
|
detailed-errors=True
|
||||||
cover-package=webpush
|
cover-package=pywebpush
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -3,7 +3,7 @@ import os
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
__version__ = "0.2"
|
__version__ = "0.3"
|
||||||
|
|
||||||
|
|
||||||
def read_from(file):
|
def read_from(file):
|
||||||
|
@ -25,7 +25,7 @@ with io.open(os.path.join(here, 'CHANGELOG.md'), encoding='utf8') as f:
|
||||||
CHANGES = f.read()
|
CHANGES = f.read()
|
||||||
|
|
||||||
setup(name="pywebpush",
|
setup(name="pywebpush",
|
||||||
version="0.2",
|
version=__version__,
|
||||||
description='WebPush publication library',
|
description='WebPush publication library',
|
||||||
long_description=README + '\n\n' + CHANGES,
|
long_description=README + '\n\n' + CHANGES,
|
||||||
classifiers=["Topic :: Internet :: WWW/HTTP",
|
classifiers=["Topic :: Internet :: WWW/HTTP",
|
||||||
|
|
Loading…
Reference in New Issue