summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rw-r--r--setup.py2
2 files changed, 4 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
diff --git a/setup.py b/setup.py
index 689c00d..19b5f87 100644
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,8 @@ extras_require = {
"construct>=2.9",
"mypy",
"pre-commit",
+ "pytest-flake8",
+ "pytest-mypy",
"pytest-timeout>=1.3.0",
"pytest>=3.6.0",
],