mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-09-20 14:11:55 +00:00
parent
1855015c67
commit
b047ed9bbd
5 changed files with 12 additions and 4 deletions
|
@ -13,8 +13,11 @@ before_install:
|
|||
|
||||
install:
|
||||
- pip install -q ansible==$ANSIBLE_VERSION
|
||||
- pip install -q -r requirements.txt
|
||||
- pip install -q -r requirements_tests.txt
|
||||
- pip install .
|
||||
|
||||
script:
|
||||
- make test
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[![Build Status](https://travis-ci.org/haidaraM/ansible-playbook-grapher.svg?branch=master)](https://travis-ci.org/haidaraM/ansible-playbook-grapher)
|
||||
[![PyPI version](https://badge.fury.io/py/ansible-playbook-grapher.svg)](https://badge.fury.io/py/ansible-playbook-grapher)
|
||||
[![Coverage Status](https://coveralls.io/repos/github/haidaraM/ansible-playbook-grapher/badge.svg?branch=master)](https://coveralls.io/github/haidaraM/ansible-playbook-grapher?branch=master)
|
||||
|
||||
[ansible-playbook-grapher](https://github.com/haidaraM/ansible-playbook-grapher) is a command line tool to create a graph representing your Ansible playbook tasks and roles. The aim of
|
||||
this project is to quickly have an overview of your playbook.
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[pytest]
|
||||
rootdir = tests
|
||||
addopts = -v
|
||||
addopts = -v --cov ansibleplaybookgrapher --cov-report term --cov-report html
|
4
requirements_tests.txt
Normal file
4
requirements_tests.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
-r requirements.txt
|
||||
pytest-cov==2.5.1
|
||||
pytest==3.2.3
|
||||
coveralls
|
4
setup.py
4
setup.py
|
@ -16,8 +16,8 @@ setup(name=__prog__,
|
|||
author="HAIDARA Mohamed El Mouctar",
|
||||
author_email="elmhaidara@gmail.com",
|
||||
license="MIT",
|
||||
install_requires=['graphviz==0.8.1', 'colour==0.1.5', 'lxml==4.1.1', 'ansible>=2.4'],
|
||||
tests_requires=['pytest'],
|
||||
install_requires=['graphviz==0.8.1', 'colour==0.1.5', 'lxml==4.1.1', 'ansible>=2.4.0'],
|
||||
tests_requires=['pytest==3.2.3', 'pytest-cov==2.5.1'],
|
||||
packages=find_packages(exclude=['tests']),
|
||||
package_data={"ansible-playbook-grapher": ['data/*']},
|
||||
include_package_data=True,
|
||||
|
|
Loading…
Reference in a new issue