summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index c5cc111..739ec0e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,10 +5,9 @@ language: python
matrix:
include:
- python: 3.7
- env: PRE_COMMIT=true
- python: 3.8
+ env: PRE_COMMIT=true PYTEST_OPTIONS="--mypy --flake8"
- python: 3.9-dev
- env: RUN_MYPY=false
install:
- pip install .[all]
@@ -20,6 +19,5 @@ addons:
- libudev-dev
script:
- - py.test
- - if [[ $RUN_MYPY != false ]]; then mypy glucometerutils reversing_tools; fi
+ - pytest $PYTEST_OPTIONS
- if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi