Skip to content

Commit

Permalink
ci: switch from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
Switched from Travis CI to GitHub Actions for the CI loop. This
necessitated dropping Python 3.4 as its no longer supported by the
dependencies of this project and not supported by upstream.
  • Loading branch information
cardoe committed Apr 6, 2021
1 parent 9ddfd50 commit 635a014
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 36 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install --upgrade tox
- name: Unit tests
run: |
tox -e py
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def run(self):
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
Expand Down

0 comments on commit 635a014

Please sign in to comment.