Skip to content

Commit ec493c2

Browse files
committed
remove travis:
1 parent d8bb65f commit ec493c2

File tree

3 files changed

+34
-35
lines changed

3 files changed

+34
-35
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
types: ['opened', 'reopened', 'synchronize']
9+
10+
jobs:
11+
test:
12+
strategy:
13+
matrix:
14+
python: [ '3.12', '3.11', '3.10', '3.9', '3.8', '3.7' ]
15+
runs-on: 'ubuntu-latest'
16+
permissions:
17+
actions: write
18+
contents: read
19+
pull-requests: write
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- name: Set up Python ${{ matrix.python }}
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ matrix.python }}
27+
- name: Install deps
28+
run: pip install --upgrade --force-reinstall pip
29+
- name: Run tests
30+
run: python setup.py test

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Losant Python MQTT Client
22
=========================
33

4-
|travis-badge|_ |pypi-badge|_
4+
|test-badge|_ |pypi-badge|_
55

6-
.. |travis-badge| image:: https://travis-ci.com/Losant/losant-mqtt-python.svg?branch=master
7-
.. _travis-badge: https://app.travis-ci.com/github/Losant/losant-mqtt-python
6+
.. |test-badge| image:: https://github.com/Losant/losant-mqtt-python/actions/workflows/test.yml/badge.svg?branch=master
7+
.. _test-badge: https://github.com/Losant/losant-mqtt-python/actions/workflows/test.yml
88

99
.. |pypi-badge| image:: https://badge.fury.io/py/losant-mqtt.svg
1010
.. _pypi-badge: https://badge.fury.io/py/losant-mqtt
@@ -251,6 +251,6 @@ observer
251251
Callback method to remove.
252252

253253

254-
Copyright (c) 2024 Losant IoT, Inc
254+
Copyright (c) 2025 Losant IoT, Inc
255255

256256
https://www.losant.com

0 commit comments

Comments
 (0)