Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #16 from tubone24/ci-coverage
Browse files Browse the repository at this point in the history
Ci coverage
  • Loading branch information
tubone24 committed Feb 3, 2019
2 parents 6a06211 + c028d6b commit e79d08c
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
environment:
global:
TOXENV: py,codecov

matrix:
- PYTHON: C:\Python36-x64
- PYTHON: C:\Python35-x64

init:
- SET PATH=%PYTHON%;%PATH%

install:
- python -m pip install -U tox

build: false

test_script:
- python -m tox

cache:
- '%LOCALAPPDATA%\pip\Cache'
11 changes: 11 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ build:
tests:
override:
- coverage run --source=ebook_homebrew -m pytest --it tests/
coverage:
dependencies:
before:
- pip install -r requirements-test.txt
- python setup.py install
tests:
override:
- command: 'coverage run --source=ebook_homebrew -m pytest --it tests/'
coverage:
file: '.coverage'
format: 'py-cc'
filter:
excluded_paths:
- 'tests/*'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
[![Maintainability](https://api.codeclimate.com/v1/badges/a3e2d70a87998a18e225/maintainability)](https://codeclimate.com/github/tubone24/ebook_homebrew/maintainability)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/?branch=master)
[![Code Intelligence Status](https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)
[![Build status](https://ci.appveyor.com/api/projects/status/mx93pu69tqkngjxv?svg=true)](https://ci.appveyor.com/project/tubone24/ebook-homebrew)
![Downloads](https://img.shields.io/pypi/dm/ebook-homebrew.svg)
![PyPi](https://img.shields.io/pypi/v/ebook-homebrew.svg)
![Python version](https://img.shields.io/pypi/pyversions/ebook-homebrew.svg)
Expand Down
3 changes: 3 additions & 0 deletions doc_src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Badges:
.. image:: https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/code-intelligence.svg?b=master
:target: https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/?branch=master

.. image:: https://ci.appveyor.com/api/projects/status/mx93pu69tqkngjxv?svg=true
:target: https://ci.appveyor.com/project/tubone24/ebook-homebrew

.. image:: https://readthedocs.org/projects/ebook-homebrew/badge/?version=latest
:target: https://ebook-homebrew.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Expand Down
3 changes: 3 additions & 0 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Badges:
.. image:: https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/code-intelligence.svg?b=master
:target: https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/?branch=master

.. image:: https://ci.appveyor.com/api/projects/status/mx93pu69tqkngjxv?svg=true
:target: https://ci.appveyor.com/project/tubone24/ebook-homebrew

.. image:: https://readthedocs.org/projects/ebook-homebrew/badge/?version=latest
:target: https://ebook-homebrew.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ <h1>Welcome to ebook_homebrew’s documentation!<a class="headerlink" href="#wel
<a class="reference external image-reference" href="https://codeclimate.com/github/tubone24/ebook_homebrew/test_coverage"><img alt="Test Coverage" src="https://api.codeclimate.com/v1/badges/a3e2d70a87998a18e225/test_coverage" /></a>
<a class="reference external image-reference" href="https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/?branch=master"><img alt="https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/quality-score.png?b=master" src="https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/quality-score.png?b=master" /></a>
<a class="reference external image-reference" href="https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/?branch=master"><img alt="https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/code-intelligence.svg?b=master" src="https://scrutinizer-ci.com/g/tubone24/ebook_homebrew/badges/code-intelligence.svg?b=master" /></a>
<a class="reference external image-reference" href="https://ci.appveyor.com/project/tubone24/ebook-homebrew"><img alt="https://ci.appveyor.com/api/projects/status/mx93pu69tqkngjxv?svg=true" src="https://ci.appveyor.com/api/projects/status/mx93pu69tqkngjxv?svg=true" /></a>
<a class="reference external image-reference" href="https://ebook-homebrew.readthedocs.io/en/latest/?badge=latest"><img alt="Documentation Status" src="https://readthedocs.org/projects/ebook-homebrew/badge/?version=latest" /></a>
<a class="reference external image-reference" href="https://pypi.org/project/ebook-homebrew/#files"><img alt="https://img.shields.io/pypi/dm/ebook-homebrew.svg" src="https://img.shields.io/pypi/dm/ebook-homebrew.svg" /></a>
<a class="reference external image-reference" href="https://pypi.org/project/ebook-homebrew/"><img alt="Latest PyPI version" src="https://img.shields.io/pypi/v/ebook-homebrew.svg" /></a>
Expand Down

0 comments on commit e79d08c

Please sign in to comment.