Skip to content

Commit a5ff81b

Browse files
committed
feat: adding travis
1 parent 9dd9e76 commit a5ff81b

10 files changed

+36
-4
lines changed

.coveragerc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[report]
2+
omit = *noseplugin*

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
root = true
5+
6+
[*.{py,rst,txt}]
7+
indent_style = space
8+
trim_trailing_whitespace = true
9+
indent_size = 4
10+
end_of_line = LF
11+
charset = utf-8
12+
insert_final_newline = true

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
install:
5+
- pip install -r requirements.txt
6+
- pip install -r test-requirements.txt
7+
script:
8+
- nosetests
9+
- flake8 pywebpush
10+
after_success:
11+
- codecov

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3 (2016-04-27)
2+
feat: added travis, normalized directories
3+
4+
15
## 0.2 (2016-04-27)
26
feat: Added tests, restructured code
37

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build_Status](https://travis-ci.org/jrconlin/pywebpush.svg?branch=master)](https://travis-ci.org/jrconlin/pywebpush)
2+
13
# Webpush Data encryption library for Python
24

35
This is a work in progress.
File renamed without changes.

webpush/tests/test_webpush.py renamed to pywebpush/tests/test_webpush.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from nose.tools import eq_, ok_
88
import pyelliptic
99

10-
from webpush import WebPusher, WebPushException
10+
from pywebpush import WebPusher, WebPushException
1111

1212

1313
class WebpushTestCase(unittest.TestCase):

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http-ece==0.5.0
22
python-jose==0.5.6
33
requests==2.9.1
4+
flake8

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ cover-tests=True
55
cover-erase=True
66
with-coverage=True
77
detailed-errors=True
8-
cover-package=webpush
8+
cover-package=pywebpush

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from setuptools import setup
55

6-
__version__ = "0.2"
6+
__version__ = "0.3"
77

88

99
def read_from(file):
@@ -25,7 +25,7 @@ def read_from(file):
2525
CHANGES = f.read()
2626

2727
setup(name="pywebpush",
28-
version="0.2",
28+
version=__version__,
2929
description='WebPush publication library',
3030
long_description=README + '\n\n' + CHANGES,
3131
classifiers=["Topic :: Internet :: WWW/HTTP",

0 commit comments

Comments
 (0)