Skip to content

Commit

Permalink
Travis CI now supports Python 3.9 (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Oct 27, 2020
1 parent e6a2c91 commit 7d2f2dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
- "3.9"

env:
- SENTRY_PYTHON_TEST_POSTGRES_USER=postgres SENTRY_PYTHON_TEST_POSTGRES_NAME=travis_ci_test
Expand All @@ -31,21 +31,19 @@ branches:
- /^release\/.+$/

jobs:
allow_failures:
- python: "3.9-dev"
include:
- name: Linting
python: "3.8"
python: "3.9"
install:
- pip install tox
script: tox -e linters

- python: "3.8"
- python: "3.9"
name: Distribution packages
install: []
script: make travis-upload-dist

- python: "3.8"
- python: "3.9"
name: Build documentation
install: []
script: make travis-upload-docs
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ basepython =
# some random Python 3 binary, but then you get guaranteed mismatches with
# CI. Other tools such as mypy and black have options that pin the Python
# version.
linters: python3.8
linters: python3.9
pypy: pypy

commands =
Expand Down

0 comments on commit 7d2f2dc

Please sign in to comment.