summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f219e0d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors
+#
+# SPDX-License-Identifier: 0BSD
+
+dist: xenial
+
+language: python
+
+matrix:
+ include:
+ - python: 3.7
+ - python: 3.8
+ env: PYTEST_OPTIONS="--mypy"
+ - python: 3.9-dev
+
+install:
+ - pip install .[dev]
+
+script:
+ - pytest $PYTEST_OPTIONS