summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 633fbf3f0b50385cb94ac66ef5489f9f8c8b7bf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors
#
# SPDX-License-Identifier: 0BSD

dist: xenial

language: python

matrix:
  include:
    - python: 3.7
    - python: 3.8
    - python: 3.9
      env: PYTEST_OPTIONS="--mypy"
    - python: 3.10-dev

install:
  # Work around failures with Python 3.7 on Travis CI coming with its own
  # version of attrs that is incompatible with pytest.
  - pip install -U attrs
  - pip install .[dev,tools]

script:
  - pytest $PYTEST_OPTIONS