summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c5aa55a935b5812ea9f59b234ebd65aacf5a7a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: python
dist: bionic   # required for Python >= 3.7
cache: pip

# Environment changes have to be manually synced with 'tox.ini'.
# See: https://github.com/travis-ci/travis-ci/issues/3024

python:
  - "3.7"
  - "3.8"
  - "3.9"
  - "3.10"
  - "3.11"

install:
  - pip install -U pip setuptools  # https://github.com/pypa/virtualenv/issues/1630
  - pip install poetry
  - poetry install

script:
  - poetry run py.test tests/

after_success:
  - poetry run coveralls