hookmeup

A Git hook to automate your Pipenv and Django workflow
git clone git://git.danielmoch.com/hookmeup.git
Log | Files | Refs | README | LICENSE

commit a93f9258bb769456bd40e87c94bba050cf2701dc
parent 7bd9a0604c297b0fde63447478b752e5f5a6eb3f
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 25 Aug 2018 18:17:01 -0400

Add coveralls.io integration

Diffstat:
M.travis.yml | 10+++++++---
MREADME.md | 1+
Mtox.ini | 6------
3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -20,7 +20,11 @@ jobs: - <<: *xenial-mixin python: 3.7 -install: pip install -U tox-travis +install: + - pip install -U 'pytest<3.7.0' pytest-cov pytest-pylint pytest-mock python-coveralls -# Command to run tests, e.g. python setup.py test -script: tox +script: + - python -m pytest + +after_success: + - coveralls diff --git a/README.md b/README.md @@ -4,6 +4,7 @@ [![Travis CI](https://travis-ci.org/djmoch/hookmeup.svg?branch=master)](https://travis-ci.org/djmoch/hookmeup) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hookmeup.svg) [![PyPI](https://img.shields.io/pypi/v/hookmeup.svg)](https://pypi.org/project/hookmeup/) +[![Coverage Status](https://coveralls.io/repos/github/djmoch/hookmeup/badge.svg?branch=master)](https://coveralls.io/github/djmoch/hookmeup?branch=master) A Git hook to automate your Pipenv and Django workflows diff --git a/tox.ini b/tox.ini @@ -2,12 +2,6 @@ envlist = py35, py36, py37, pylint skipsdist = True -[travis] -python = - 3.7: py37 - 3.6: py36 - 3.5: py35 - [testenv:pylint] basepython = python deps = pylint