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

            

                

          
                 
                          

                     
                         

        
                      
 





                        

           
                                                                              
                                                                                 
dist: xenial

language: python

matrix:
  include:
    - python: 3.7
      env: PRE_COMMIT=true
    - python: 3.8
    - python: 3.9-dev
      env: RUN_MYPY=false

install:
  - pip install .[all]

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

script:
  - py.test
  - if [[ $RUN_MYPY != false ]]; then mypy glucometerutils reversing_tools; fi
  - if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi