Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
language: python
dist: bionic # required for Python >= 3.7
dist: bionic
cache: pip

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

python:
- "3.6"
- "3.7"

matrix:
include:
- python: 3.5
- python: "3.5"
dist: xenial # Bionic has no Python 3.5
- python: "3.6"
- python: "3.7"

# Disabled, see https://github.com/sybrenstuvel/python-rsa/issues/131
#- python: pypy3.5
# dist: xenial # Bionic has no Python 3.5
#- python: pypy3.6-7.1.1
# dist: xenial # Bionic has no Pypy 3

install:
- pip install poetry
- poetry install -v

script:
- poetry run flake8 .
- poetry run py.test tests/

after_success:
Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ license_file = LICENSE
[flake8]
max-line-length = 100
max-complexity = 10

[pep8]
max-line-length = 100
show-source = True
statistics = True

[mypy]
python_version = 3.7
Expand Down