Skip to content

Commit 8fed042

Browse files
committed
New distribution [0.15.4]
* bugfix for #58 * setup Travis CI
1 parent e7eb04c commit 8fed042

File tree

7 files changed

+35
-5
lines changed

7 files changed

+35
-5
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# base configurations
2+
dist: xenial
3+
language: python
4+
python:
5+
- "3.4"
6+
- "3.5"
7+
- "3.6"
8+
- "3.7"
9+
- "3.8"
10+
11+
env:
12+
- PIPENV_SKIP_LOCK=1
13+
14+
# command to install dependencies
15+
install:
16+
- pip install pipenv
17+
- pipenv install --dev
18+
19+
# command to run tests
20+
script:
21+
- cd test && coverage run test_extractor.py
22+
23+
# coverage
24+
after_success:
25+
- codecov
26+
# - pylint --load-plugins=pylint.extensions.check_elif,pylint.extensions.docstyle,pylint.extensions.emptystring,pylint.extensions.overlapping_exceptions --disable=all --enable=F,E,W,R,basic,classes,format,imports,refactoring,else_if_used,docstyle,compare-to-empty-string,overlapping-except --disable=blacklisted-name,invalid-name,missing-class-docstring,missing-function-docstring,missing-module-docstring,design,too-many-lines,eq-without-hash,old-division,no-absolute-import,input-builtin,too-many-nested-blocks,broad-except,singleton-comparison --max-line-length=120 --init-import=yes --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text pcapkit
27+
# - bandit -f custom --msg-template {line},0,{severity},{test_id}:{msg} -n -1 -r pcapkit
28+
# - mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers pcapkit

Pipfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ autopep8 = "*"
3232
bandit = "*"
3333
mypy = "*"
3434
pylint = "*"
35+
coverage = "*"
36+
codecov = "*"
3537
sphinx = "*"
3638
doc8 = "*"
3739
rstcheck = "*"

doc/sphinx/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Jarry Shaw'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.15.3'
25+
release = '0.15.4'
2626

2727

2828
# -- General configuration ---------------------------------------------------

pcapkit/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pcapkit.interface import JSON, PLIST, TREE
1616

1717
#: version number
18-
__version__ = '0.15.3'
18+
__version__ = '0.15.4'
1919

2020

2121
def get_parser():

pcapkit/all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# pylint: disable=unused-import, unused-wildcard-import, bad-continuation
2+
# pylint: disable=unused-import, unused-wildcard-import, bad-continuation,wildcard-import
33
"""index for the library
44
55
:mod:`pcapkit` has defined various and numerous functions

pcapkit/vendor/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from pcapkit.vendor import __all__ as vendor_all
1212

1313
#: version string
14-
__version__ = '0.15.3'
14+
__version__ = '0.15.4'
1515

1616

1717
def get_parser():

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55

66
# version string
7-
__version__ = '0.15.3'
7+
__version__ = '0.15.4'
88

99
# README
1010
with open('README.md', encoding='utf-8') as file:

0 commit comments

Comments
 (0)