summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 96011ac25a82f38f499f637784319216fa8cb3c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dist: xenial

language: python

matrix:
  include:
    - python: 3.6
      env: PRE_COMMIT=true
    - python: 3.7
    - python: 3.8-dev

install:
  - pip install .[dev]

script:
  - py.test
  - mypy glucometerutils
  - python setup.py bdist_wheel
  - pip install ./dist/glucometerutils-*.whl
  - if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi