blob: f875f05715380f61eb2767fd5c1918b9bd13a8e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
dist: xenial
language: python
matrix:
include:
- python: 3.6
env: PRE_COMMIT=true
- python: 3.7
- python: 3.8
- python: 3.9-dev
env: RUN_MYPY=false
install:
- pip install .[dev]
script:
- py.test
- if [[ $RUN_MYPY != false ]]; then mypy glucometerutils; fi
- python setup.py bdist_wheel
- pip install ./dist/glucometerutils-*.whl
- if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi
|