From d765255e681c485fb2948062f628dc3e08426d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Thu, 2 Sep 2021 10:08:30 +0100 Subject: [PATCH] fix: README structure --- .travis.yml | 6 +++--- README.md | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e5695ee..60eca4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,9 @@ before_install: - pip install --upgrade pip setuptools install: - pip install -r requirements.txt - - pip install coveralls -script: coverage run --source=easypay setup.py test -after_success: coveralls + - if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls; fi +script: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run --source=easypay setup.py test; else python setup.py test; fi +after_success: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coveralls; fi deploy: provider: pypi user: joamag diff --git a/README.md b/README.md index 96301ae..7447704 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # [Easypay API](http://easypay-api.hive.pt) API client for the Easypay service, conformant with the typical Python API client provided by Hive Solutions. + +## Build Automation + +[![Build Status](https://app.travis-ci.com/hivesolutions/easypay_api.svg?branch=master)](https://travis-ci.com/github/hivesolutions/easypay_api) +[![Coverage Status](https://coveralls.io/repos/hivesolutions/easypay_api/badge.svg?branch=master)](https://coveralls.io/r/hivesolutions/easypay_api?branch=master) +[![PyPi Status](https://img.shields.io/pypi/v/easypay_api.svg)](https://pypi.python.org/pypi/easypay_api) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)