Skip to content

Commit

Permalink
Update Python versions (#96)
Browse files Browse the repository at this point in the history
* add python 3.7 to 3.10 to CI

* add github actions for CI

* install pytest

* update python versions

* add python 3.10

* python v3.10 alpha

* try python 3.4 again

* github actions ubuntu 18

* add latest python version classifiers to setup.py

* fix repo url in setup.py

* remove redundant travisci setup

* update license date range

* version 0.3.4
  • Loading branch information
jmsv committed Jun 19, 2021
1 parent c026a9b commit e29d739
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 20 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on: [push]

jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10.0-alpha.1']

steps:
- uses: actions/checkout@v2

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

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install test stuff
run: pip install flake8 pytest

- name: Install l293d
run: python setup.py install

- name: Run flake8
run: flake8 . --exclude __init__.py

- name: Run tests
run: py.test tests/
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 James Vickery
Copyright (c) 2016 to Present - James Vickery

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion l293d/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from l293d.driver import *

__version__ = '0.3.3'
__version__ = '0.3.4'

5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
with open(path.join(here, 'l293d/__init__.py'), encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)

repo = 'https://github.com/jamesevickery/l293d'
repo = 'https://github.com/jmsv/l293d'

setup(
name='l293d',
Expand All @@ -35,6 +35,9 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: POSIX :: Linux'
Expand Down

0 comments on commit e29d739

Please sign in to comment.