From ed5f1fb38a993bb2a2cfe3a1ba4b70b42ded66ba Mon Sep 17 00:00:00 2001 From: k0t3n Date: Thu, 26 Mar 2020 14:17:51 +0300 Subject: [PATCH 1/5] Add .travis.yml --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..11c240d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: python + +python: + - 2.7 + - 3.4 + - 3.5 + - 3.6 + - "3.7-dev" # 3.7 development branch + +dist: xenial + +install: + - pip install -r tests/requirements.txt + - pip install -e . + - pip install codecov + +script: + - pytest --cov=./changelly_api + +after_success: + - codecov \ No newline at end of file From 59c517af75c3f3fba3c0029c50ba09ad753752aa Mon Sep 17 00:00:00 2001 From: k0t3n Date: Thu, 26 Mar 2020 14:29:08 +0300 Subject: [PATCH 2/5] Add `pytest-cov` & `codecov` dependencies --- tests/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/requirements.txt b/tests/requirements.txt index 55b033e..6665529 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1 +1,3 @@ +pytest-cov +codecov pytest \ No newline at end of file From fb9c49dd6e1b48e38673ca8f2b5b5a04974a09c7 Mon Sep 17 00:00:00 2001 From: k0t3n Date: Thu, 26 Mar 2020 14:31:33 +0300 Subject: [PATCH 3/5] Replace old python versions --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11c240d..e2f1aa7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,10 @@ language: python python: - - 2.7 - - 3.4 - 3.5 - 3.6 - - "3.7-dev" # 3.7 development branch + - 3.7 + - 3.8 dist: xenial From 5711a609d34d0b2cbcc32f414264813ee5bd708c Mon Sep 17 00:00:00 2001 From: k0t3n Date: Thu, 26 Mar 2020 14:33:50 +0300 Subject: [PATCH 4/5] Replace python3.5 support --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e2f1aa7..21c08fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python python: - - 3.5 - 3.6 - 3.7 - 3.8 From 400ec5dbc9526f75cea87bb31e2f2021621330f9 Mon Sep 17 00:00:00 2001 From: k0t3n Date: Thu, 26 Mar 2020 14:42:28 +0300 Subject: [PATCH 5/5] Add badges --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4912ecf..86f9ff5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Changelly API [![Pypi](https://img.shields.io/pypi/v/changelly-api.svg)](https://pypi.python.org/pypi/changelly-api) +[![Build Status](https://travis-ci.com/k0t3n/changelly_api.svg?branch=master)](https://travis-ci.com/k0t3n/changelly_api) +[![codecov](https://codecov.io/gh/k0t3n/changelly_api/branch/master/graph/badge.svg)](https://codecov.io/gh/k0t3n/changelly_api) +![GitHub Pipenv locked Python version](https://img.shields.io/github/pipenv/locked/python-version/k0t3n/changelly_api) **Changelly API** is a python wrapper library over Changelly RPC API.