summaryrefslogtreecommitdiffstats
path: root/.travis.yml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Only run pytest for glucometerutils directory.Diego Elio Pettenò2020-10-041-1/+1
| | | | | This removes the need for having typing information applied to setup.py, which is just boilerplate.
* Move pre-commit checks from Travis CI to a GitHub Action.Diego Elio Pettenò2020-05-161-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.
* There's no need to install the pre-commit to run it.Diego Elio Pettenò2020-05-161-1/+1
|
* Make the project compliant with the REUSE guidelines.Diego Elio Pettenò2020-04-201-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.
* Run flake8 and mypy as part of pytest, but on 3.8 only.Diego Elio Pettenò2020-04-091-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.
* Remove bdist_wheel/install cycle from Travis CI.Diego Elio Pettenò2020-03-251-2/+0
| | | | These don't seem to match the actual released builds, and they don't respect pyproject.toml dependencies.
* Check type annotations for tools with mypy, too.Diego Elio Pettenò2020-03-231-1/+1
| | | | This requires the released version of usbmon-tools.
* Add an `all` extension that includes all dependencies.Diego Elio Pettenò2020-03-231-1/+1
| | | | This makes it easier in the integration to install all the needed dependencies.
* Travis CI: install hidapi build dependencies.Diego Elio Pettenò2020-03-231-0/+6
| | | | This includes libusb-1.0-0-dev and libudev-dev, which are required for building the hidapi C extension.
* Increase minimum supported Python version to 3.7.Diego Elio Pettenò2020-03-231-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.
* Exclude mypy from Python 3.9Diego Elio Pettenò2020-03-161-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.
* Refresh Python versions.Diego Elio Pettenò2020-03-161-1/+2
| | | | | - 3.8 is now stable. - 3.9 is now the next release.
* Add mypy to continuous integration.Diego Elio Pettenò2020-03-161-0/+1
|
* only run pre-commit on python3.6Ben2020-03-081-6/+7
|
* add configuration for pre-commit, black and isortBen2020-03-081-2/+3
|
* Drop support for Python 3.4.Diego Elio Pettenò2019-09-021-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.
* travis: add Python 3.8 to the list of versions to test.Diego Elio Pettenò2019-07-301-0/+1
|
* Travis: make dist xenial for python 3.7 supportDiego Elio Pettenò2018-11-161-0/+2
| | | | CC travis-ci/travis-ci#9815
* Travis: add Python 3.7 support.Diego Elio Pettenò2018-11-161-0/+1
|
* Run test and build on Travis CIMuhammad Kaisar Arkhan2017-12-301-0/+14
Closes https://github.com/Flameeyes/glucometerutils/issues/35