Skip to content

Commit

Permalink
Setup integrations (#12)
Browse files Browse the repository at this point in the history
* Set up pyup.io

* [wip] codecov integration

* Update ptyprocess from 0.5.1 to 0.5.2 (#13)

* Improve docs

* Improve readme

* Setup Travis CI

* Fix .travis.yml

* Fix GitHub project name in docs

* Bump version: 0.1.0 → 0.2.0

* Fix setup.py classifiers

* Bump version: 0.2.0 → 0.3.0

* Set up pyup.io

* [wip] codecov integration

* Add PyPI badge

* Add other badges

* Update badges

* Re-order gbadges

* Re-order badges
  • Loading branch information
webyneter authored Jun 27, 2017
1 parent fe6bddc commit 8e888c5
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 30 deletions.
25 changes: 25 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
codecov:
notify:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "90...100"
status:
project: yes
patch: yes
changes: no

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "header, diff"
behavior: default
require_changes: no
42 changes: 18 additions & 24 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
Python Humble Utils
===================

.. image:: https://img.shields.io/pypi/v/python_humble_utils.svg
:target: https://pypi.python.org/pypi/python_humble_utils
:alt: PyPI
.. image:: https://travis-ci.org/webyneter/python-humble-utils.svg?branch=master
:target: https://travis-ci.org/webyneter/python-humble-utils
:alt: Build Status

.. TODO .. image:: https://img.shields.io/pypi/status/python_humble_utils.svg
:target:
:alt:
.. image:: https://badge.fury.io/py/python-humble-utils.svg
:target: https://pypi.python.org/pypi/python-humble-utils
:alt: Latest Version

.. TODO .. image:: https://img.shields.io/pypi/pyversions/python_humble_utils.svg
:target:
:alt:
.. image:: https://img.shields.io/pypi/pyversions/python-humble-utils.svg
:target: https://pypi.python.org/pypi/python-humble-utils
:alt: Supported Python Versions

.. image:: https://img.shields.io/travis/webyneter/python_humble_utils.svg
:target: https://travis-ci.org/webyneter/python_humble_utils
:alt: Travis CI
.. image:: https://codecov.io/gh/webyneter/python-humble-utils/branch/master/graph/badge.svg
:target: https://codecov.io/gh/webyneter/python-humble-utils
:alt: Coverage

.. image:: https://pyup.io/repos/github/webyneter/python_humble_utils/shield.svg
:target: https://pyup.io/repos/github/webyneter/python_humble_utils/
:alt: pyup.io
.. image:: https://pyup.io/repos/github/webyneter/python-humble-utils/shield.svg
:target: https://pyup.io/repos/github/webyneter/python-humble-utils/
:alt: Updates

.. image:: https://readthedocs.org/projects/python-humble-utils/badge/?version=latest
:target: https://python-humble-utils.readthedocs.io/en/latest/?badge=latest
:alt: Documentation
:target: http://python-humble-utils.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://img.shields.io/badge/License-MIT-green.svg
:target: https://opensource.org/licenses/MIT
:alt: License: MIT

.. TODO: gitter
.. TODO: codecov
.. TODO: https://github.com/probot/stale
.. TODO: https://github.com/danger/danger
:alt: MIT License

Python utils for everyday use.

Expand Down
12 changes: 7 additions & 5 deletions requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ argh==0.26.2 # via watchdog
asn1crypto==0.22.0 # via cryptography
babel==2.4.0 # via sphinx
bumpversion==0.5.3
certifi==2017.4.17 # via requests
certifi==2017.4.17
cffi==1.10.0 # via cryptography
chardet==3.0.4 # via requests
chardet==3.0.4
click==6.7 # via pip-tools
codecov==2.0.9
coverage==4.4.1
cryptography==1.9
decorator==4.0.11 # via ipython, traitlets
docutils==0.13.1 # via sphinx
first==2.0.1 # via pip-tools
flake8==3.3.0
hypothesis==3.11.6
idna==2.5 # via cryptography, requests
idna==2.5
imagesize==0.7.1 # via sphinx
ipython-genutils==0.2.0 # via traitlets
ipython==6.1.0
Expand All @@ -40,20 +41,21 @@ pycodestyle==2.3.1
pycparser==2.17 # via cffi
pyflakes==1.5.0
pygments==2.2.0 # via ipython, sphinx
pytest-cov==2.5.1
pytest-mock==1.6.0
pytest-runner==2.11.1
pytest==3.1.2
pytz==2017.2 # via babel
pyyaml==3.12
requests==2.18.1 # via sphinx
requests==2.18.1
simplegeneric==0.8.1 # via ipython
six==1.10.0 # via cryptography, pip-tools, prompt-toolkit, sphinx, traitlets
snowballstemmer==1.2.1 # via sphinx
sphinx==1.6.2
sphinxcontrib-websupport==1.0.1 # via sphinx
tox==2.7.0
traitlets==4.3.2 # via ipython
urllib3==1.21.1 # via requests
urllib3==1.21.1
virtualenv==15.1.0
watchdog==0.8.3
wcwidth==0.1.7 # via prompt-toolkit
Expand Down
2 changes: 2 additions & 0 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
tox==2.7.0
pytest==3.1.2
pytest-runner==2.11.1
pytest-cov==2.5.1
pytest-mock==1.6.0
coverage==4.4.1
codecov==2.0.9
flake8==3.3.0
hypothesis==3.11.6
7 changes: 7 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,24 @@
#
# pip-compile --output-file test.txt test.in
#
certifi==2017.4.17 # via requests
chardet==3.0.4 # via requests
codecov==2.0.9
coverage==4.4.1
flake8==3.3.0
hypothesis==3.11.6
idna==2.5 # via requests
mccabe==0.6.1 # via flake8
pluggy==0.4.0 # via tox
py==1.4.34 # via pytest, tox
pycodestyle==2.3.1 # via flake8
pyflakes==1.5.0 # via flake8
pytest-cov==2.5.1
pytest-mock==1.6.0
pytest-runner==2.11.1
pytest==3.1.2
requests==2.18.1 # via codecov
tox==2.7.0
urllib3==1.21.1 # via requests
virtualenv==15.1.0 # via tox
wheel==0.29.0
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ python =
[testenv]
setenv =
PYTHONPATH = {toxinidir}
passenv =
CI TRAVIS TRAVIS_*
deps =
-r{toxinidir}/requirements/test.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir}
py.test --basetemp={envtmpdir} --cov={toxinidir}
codecov

[testenv:flake8]
basepython = python
Expand Down

0 comments on commit 8e888c5

Please sign in to comment.