summaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: 975114dfe8de4164c771cfb744778c6ee43ef580 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                          

            

                

          
                 
                 
                                                           
                     

        
                      
 





                        
       
                          
                                                                                 
# SPDX-FileCopyrightText: 2013 The glucometerutils Authors
#
# SPDX-License-Identifier: MIT

dist: xenial

language: python

matrix:
  include:
    - python: 3.7
    - python: 3.8
      env: PRE_COMMIT=true PYTEST_OPTIONS="--mypy --flake8"
    - python: 3.9-dev

install:
  - pip install .[all]

addons:
  apt:
    packages:
      - libusb-1.0-0-dev
      - libudev-dev

script:
  - pytest $PYTEST_OPTIONS
  - if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi