summaryrefslogtreecommitdiffstats
path: root/.travis.yml (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-16Move pre-commit checks from Travis CI to a GitHub Action.Diego Elio Pettenò1-2/+1
This replaces the need for optional execution within the Travis CI configuration, and updates Mergify to wait on both checks. Also remove flake8 from pytest on 3.8 since flake8 is already executed in pre-commit.
2020-05-16There's no need to install the pre-commit to run it.Diego Elio Pettenò1-1/+1
2020-04-20Make the project compliant with the REUSE guidelines.Diego Elio Pettenò1-0/+4
See https://reuse.software/ for details. For simplicity, the support files, that are vastly copy-pasta, are licensed under MIT license, rather than LGPL-2.1-or-later. Note that `reuse lint` currently fails due to fsfe/reuse-tool#208.
2020-04-09Run flake8 and mypy as part of pytest, but on 3.8 only.Diego Elio Pettenò1-4/+2
There's no need to run mypy and flake8 on multiple Python versions, since they are independent. So instead prefer running them on the most recent stable release.
2020-03-25Remove bdist_wheel/install cycle from Travis CI.Diego Elio Pettenò1-2/+0
These don't seem to match the actual released builds, and they don't respect pyproject.toml dependencies.
2020-03-23Check type annotations for tools with mypy, too.Diego Elio Pettenò1-1/+1
This requires the released version of usbmon-tools.
2020-03-23Add an `all` extension that includes all dependencies.Diego Elio Pettenò1-1/+1
This makes it easier in the integration to install all the needed dependencies.
2020-03-23Travis CI: install hidapi build dependencies.Diego Elio Pettenò1-0/+6
This includes libusb-1.0-0-dev and libudev-dev, which are required for building the hidapi C extension.
2020-03-23Increase minimum supported Python version to 3.7.Diego Elio Pettenò1-2/+1
This simplifies compatibility with usbmon-tools for the reversing tools, and will allow converting all the type annotations inline, which is less intrusive.
2020-03-16Exclude mypy from Python 3.9Diego Elio Pettenò1-1/+2
It looks like subscripts (Dict[Text]) don't work correctly with the current 3.9 dev, so ignore mypy on it right now.
2020-03-16Refresh Python versions.Diego Elio Pettenò1-1/+2
- 3.8 is now stable. - 3.9 is now the next release.
2020-03-16Add mypy to continuous integration.Diego Elio Pettenò1-0/+1
2020-03-08only run pre-commit on python3.6Ben1-6/+7
2020-03-08add configuration for pre-commit, black and isortBen1-2/+3
2019-09-02Drop support for Python 3.4.Diego Elio Pettenò1-1/+0
Python 3.4 lacks the `typing` module, which requires try/catch when importing, making type annotations more verbose than needed. At the time of writing, Debian oldstable has Python 3.5 available, so it sounds like a good default.
2019-07-30travis: add Python 3.8 to the list of versions to test.Diego Elio Pettenò1-0/+1
2018-11-16Travis: make dist xenial for python 3.7 supportDiego Elio Pettenò1-0/+2
CC travis-ci/travis-ci#9815
2018-11-16Travis: add Python 3.7 support.Diego Elio Pettenò1-0/+1
2017-12-30Run test and build on Travis CIMuhammad Kaisar Arkhan1-0/+14
Closes https://github.com/Flameeyes/glucometerutils/issues/35