Skip to content

Commit 35598ac

Browse files
authored
Merge pull request #161 from urbanairship/TOOLSLIBS-344-gh-actions
[TOOLSLIBS-344] Move to github actions
2 parents b73e808 + 95f3249 commit 35598ac

File tree

3 files changed

+29
-15
lines changed

3 files changed

+29
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install flake8 pytest
23+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24+
- name: Test with pytest
25+
run: |
26+
nosetests -v --with-doctest

.travis.yml

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

README.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
.. image:: https://travis-ci.org/urbanairship/python-library.svg?branch=master
2-
:target: https://travis-ci.org/urbanairship/python-library
3-
4-
About
1+
.. image:: https://github.com/urbanairship/python-library/actions/workflows/ci.yaml/badge.svg
2+
:target: https://github.com/urbanairship/python-library/
53
=====
64

75
``urbanairship`` is a Python library for using the `Airship
@@ -11,7 +9,7 @@ center messages, email, and SMS.
119
Requirements
1210
============
1311

14-
As of version 5.2.0, either Python 2.7, 3.5, 3.6, or 3.7 is required. Other requirements can be found in requirements.txt.
12+
Python 2.7, 3.6, 3.7, or 3.8 is required. Other requirements can be found in requirements.txt.
1513

1614
Questions
1715
=========

0 commit comments

Comments
 (0)