From cbdb9e2d51dd77242b0416384a44b796009e79f3 Mon Sep 17 00:00:00 2001 From: marcel corso Date: Mon, 25 Apr 2022 14:29:36 +0200 Subject: [PATCH 1/3] hello ci --- .github/worflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/worflows/test.yml diff --git a/.github/worflows/test.yml b/.github/worflows/test.yml new file mode 100644 index 0000000..3ad6e5b --- /dev/null +++ b/.github/worflows/test.yml @@ -0,0 +1,25 @@ +name: Python package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + # You can use PyPy versions in python-version. + # For example, pypy-2.7 and pypy-3.8 + matrix: + python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + # You can test your matrix by printing the current Python version + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: test + run: python -m unittest From 1d8788e856e536cd784486aa8286321edc6b3669 Mon Sep 17 00:00:00 2001 From: marcel corso Date: Mon, 25 Apr 2022 14:32:28 +0200 Subject: [PATCH 2/3] deps --- .github/worflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/worflows/test.yml b/.github/worflows/test.yml index 3ad6e5b..53d6127 100644 --- a/.github/worflows/test.yml +++ b/.github/worflows/test.yml @@ -21,5 +21,7 @@ jobs: # You can test your matrix by printing the current Python version - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: install deps + run: python setup.py install - name: test run: python -m unittest From 89bb8087f9c51ab09ea1efc01b988cebcca3cdeb Mon Sep 17 00:00:00 2001 From: marcel corso Date: Mon, 25 Apr 2022 15:15:00 +0200 Subject: [PATCH 3/3] remove travis from readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index c4b2c60..d5203ee 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ MessageBird's REST API for Python ================================= This repository contains the open source Python client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com/. -[![Build Status](https://travis-ci.org/messagebird/python-rest-api.svg?branch=master)](https://travis-ci.org/messagebird/python-rest-api) - Requirements ------------ - [Sign up](https://www.messagebird.com/en/signup) for a free MessageBird account @@ -85,4 +83,4 @@ Complete documentation, instructions, and examples are available at: License ------- -The MessageBird REST Client for Python is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2014, MessageBird +The MessageBird REST Client for Python is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2022, MessageBird