feat: adding travis

This commit is contained in:
jrconlin 2016-04-27 10:22:33 -07:00
parent 9dd9e7607d
commit a5ff81b2a2
10 changed files with 36 additions and 4 deletions

2
.coveragerc Normal file
View File

@ -0,0 +1,2 @@
[report]
omit = *noseplugin*

12
.editorconfig Normal file
View File

@ -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

11
.travis.yml Normal file
View File

@ -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

View File

@ -1,3 +1,7 @@
## 0.3 (2016-04-27)
feat: added travis, normalized directories
## 0.2 (2016-04-27)
feat: Added tests, restructured code

View File

@ -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
This is a work in progress.

View File

@ -7,7 +7,7 @@ from mock import patch
from nose.tools import eq_, ok_
import pyelliptic
from webpush import WebPusher, WebPushException
from pywebpush import WebPusher, WebPushException
class WebpushTestCase(unittest.TestCase):

View File

@ -1,3 +1,4 @@
http-ece==0.5.0
python-jose==0.5.6
requests==2.9.1
flake8

View File

@ -5,4 +5,4 @@ cover-tests=True
cover-erase=True
with-coverage=True
detailed-errors=True
cover-package=webpush
cover-package=pywebpush

View File

@ -3,7 +3,7 @@ import os
from setuptools import setup
__version__ = "0.2"
__version__ = "0.3"
def read_from(file):
@ -25,7 +25,7 @@ with io.open(os.path.join(here, 'CHANGELOG.md'), encoding='utf8') as f:
CHANGES = f.read()
setup(name="pywebpush",
version="0.2",
version=__version__,
description='WebPush publication library',
long_description=README + '\n\n' + CHANGES,
classifiers=["Topic :: Internet :: WWW/HTTP",