From 721f7fd20ded0eb570b694037105e573a6917dcb Mon Sep 17 00:00:00 2001 From: Andrew Backes Date: Sat, 10 Feb 2018 23:16:58 -0600 Subject: [PATCH] Adding coveralls and requirements badges --- .travis.yml | 21 ++++++++++----------- README.md | 3 ++- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 393924f..702bab0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,21 +3,20 @@ # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT-license -# Copyright (c) 2018, Andrew Backes +# Copyright (c) 2016, Andrew Backes -env: - global: - - CC_TEST_REPORTER_ID=edf3a98d1595fac700d2674f20a66251fd43a7c73b49e232e63530c16b9e3b37 language: python + python: - "3.6" + install: + # install python requirements - make setup -before_script: - - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - - chmod +x ./cc-test-reporter - - ./cc-test-reporter before-build + script: - - make test -after_script: - - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT \ No newline at end of file + # run tests + - make test + +after_success: + - coveralls \ No newline at end of file diff --git a/README.md b/README.md index cab9c80..8a99b95 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Elder Scrolls: Legends SDK [![Build Status](https://travis-ci.org/ElderScrollsLegends/elder-scrolls-legends-sdk-python.svg?branch=master)](https://travis-ci.org/ElderScrollsLegends/elder-scrolls-legends-sdk-python) +[![Requirements Status](https://requires.io/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/requirements.svg?branch=master)](https://requires.io/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/requirements/?branch=master) [![Maintainability](https://api.codeclimate.com/v1/badges/ef27076576eb0104d265/maintainability)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/ef27076576eb0104d265/test_coverage)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/test_coverage) +[![Coverage Status](https://coveralls.io/repos/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/badge.svg?branch=master)](https://coveralls.io/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python?branch=master) This is the Elder Scrolls: Legends SDK Python implementation. It is a wrapper around the Elder Scrolls: Legends API of [https://elderscrollslegends.io](https://elderscrollslegends.io/).