summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBen <b-schaefer@posteo.de>2020-02-21 11:20:12 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-08 00:36:39 +0100
commitb5e39eb0d4aa1deccabbbad95a1b57293052a933 (patch)
tree111848c612d05729013098d70f320db15de7ccc0 /.travis.yml
parentformat code with black (diff)
downloadglucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.tar
glucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.tar.gz
glucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.tar.bz2
glucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.tar.lz
glucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.tar.xz
glucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.tar.zst
glucometerutils-b5e39eb0d4aa1deccabbbad95a1b57293052a933.zip
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 3f76cf5..fdc8395 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,10 +2,12 @@ dist: xenial
language: python
-python:
- - 3.6
- - 3.7
- - 3.8-dev
+matrix:
+ include:
+ - python: 3.6
+ env: PRE_COMMIT=true
+ - python: 3.7
+ - python: 3.8-dev
install:
- pip install .[dev]
@@ -14,5 +16,4 @@ script:
- py.test
- python setup.py bdist_wheel
- pip install ./dist/glucometerutils-*.whl
- - pre-commit install
- - pre-commit run --all-files
+ - if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi