Skip to content

Commit 80b3bc0

Browse files
committed
enabled coveralls
1 parent 9ada250 commit 80b3bc0

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@ python:
55
# command to install dependencies
66
install:
77
- pip install . --use-mirrors
8+
- pip install coveralls --use-mirrors
89
# command to run tests
9-
script: nosetests
10+
script:
11+
- nosetests --with-coverage
12+
13+
after_success:
14+
- coveralls
15+

coverage.rc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
source = python_utils,tests
3+
omit = */nose/*

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104

105105
# The theme to use for HTML and HTML Help pages. See the documentation for
106106
# a list of builtin themes.
107-
html_theme = 'nature'
107+
html_theme = 'wolph'
108108

109109
# Theme options are theme-specific and customize the look and feel of a theme
110110
# further. For a list of options available for each theme, see the

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1+
[metadata]
2+
description-file = README.rst
3+
14
[nosetests]
25
verbosity=3
36
with-doctest=1
47
with-coverage=1
58
cover-package=python_utils
9+
cover-min-percentage=100
610
detailed-errors=1
711
debug=nose.loader
812
pdb=1
913
pdb-failures=1
1014

15+
1116
[build_sphinx]
1217
source-dir = docs/
1318
build-dir = docs/_build

setup.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
import os
2-
from setuptools import setup, find_packages
32
import python_utils
3+
import setuptools
44

55
if os.path.isfile('README.rst'):
66
long_description = open('README.rst').read()
77
else:
88
long_description = 'See http://pypi.python.org/pypi/python-utils/'
99

10-
setup(
10+
setuptools.setup(
1111
name='python-utils',
1212
version=python_utils.__version__,
1313
author=python_utils.__author__,
1414
author_email=python_utils.__author_email__,
1515
description=python_utils.__description__,
1616
url='https://github.com/WoLpH/python-utils',
1717
license='BSD',
18-
packages=find_packages(),
18+
packages=setuptools.find_packages(),
1919
long_description=long_description,
2020
test_suite='nose.collector',
2121
tests_requires=['nose', 'coverage'],
22-
classifiers=['License :: OSI Approved :: BSD License'],
22+
classifiers=[
23+
'License :: OSI Approved :: BSD License',
24+
],
2325
)
2426

0 commit comments

Comments
 (0)