Add labels and coverage report

This commit is contained in:
Davanum Srinivas 2017-03-25 16:09:39 -04:00
parent be8be4a2d4
commit d3f948f6f0
6 changed files with 28 additions and 26 deletions

View File

@ -9,7 +9,7 @@ env:
- TOXENV=py27-etcd
- TOXENV=py35
- TOXENV=py35-etcd
- TOXENV=cover
- TOXENV=cover,codecov
- TOXENV=docs
- TOXENV=examples
- TOXENV=releasenotes

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# etcd3 gateway Python Client
[![Build Status](https://travis-ci.org/dims/etcd3-gateway.svg?branch=master)](https://travis-ci.org/dims/etcd3-gateway)
[![PyPI version](https://badge.fury.io/py/etcdgw.svg)](https://badge.fury.io/py/etcdgw)
[![codecov](https://codecov.io/gh/dims/etcd3-gateway/branch/master/graph/badge.svg)](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only")
[![pypi status](https://img.shields.io/pypi/status/etcdgw.svg)](https://pypi.python.org/pypi/etcdgw)
[![pypi supported versions](https://img.shields.io/pypi/pyversions/etcdgw.svg)](https://pypi.python.org/pypi/etcdgw)
A python client for etcd3 grpc-gateway v3 API

View File

@ -1,19 +0,0 @@
===============================
etcd3-gateway
===============================
A python client for etcd3 grpc-gateway v3 API
Please fill here a long description which must be at least 3 lines wrapped on
80 cols, so that distribution package maintainers can use it in their packages.
Note that this is a hard requirement.
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/etcd3-gateway
* Source: http://git.openstack.org/cgit/dims/etcd3-gateway
* Bugs: http://bugs.launchpad.net/etcd3-gateway
Features
--------
* TODO

View File

@ -2,16 +2,16 @@
name = etcd3gw
summary = A python client for etcd3 grpc-gateway v3 API
description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = http://www.openstack.org/
README.md
author = Davanum Srinivas
author-email = davanum@gmail.com
home-page = https://github.com/dims/etcd3-gateway
classifier =
Environment :: OpenStack
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
@ -22,6 +22,12 @@ classifier =
packages =
etcd3gw
[pbr]
warnerrors = True
[wheel]
universal = 1
[build_sphinx]
all-files = 1
warning-is-error = 1

View File

@ -13,6 +13,7 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
pifpaf>=0.10.0 # Apache-2.0
codecov>=1.4.0
# releasenotes
reno>=1.8.0 # Apache-2.0

View File

@ -4,6 +4,7 @@ envlist = py35,py27,pypy,pep8
skipsdist = True
[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv =
@ -25,6 +26,10 @@ commands =
coverage erase
python setup.py test --coverage --testr-args='{posargs}'
[testenv:codecov]
commands =
codecov
[testenv:docs]
commands = python setup.py build_sphinx