Skip to content

Commit 4aecbfd

Browse files
authored
Travis CI: Test on Python 3.9 release candidate 1 (getsentry#808)
1 parent 75a8e3c commit 4aecbfd

File tree

2 files changed

+39
-38
lines changed

2 files changed

+39
-38
lines changed

.travis.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
os: linux
2+
3+
dist: xenial
4+
5+
services:
6+
- postgresql
7+
18
language: python
29

310
python:
@@ -6,6 +13,9 @@ python:
613
- "3.4"
714
- "3.5"
815
- "3.6"
16+
- "3.7"
17+
- "3.8"
18+
- "3.9-dev"
919

1020
env:
1121
- SENTRY_PYTHON_TEST_POSTGRES_USER=postgres SENTRY_PYTHON_TEST_POSTGRES_NAME=travis_ci_test
@@ -19,29 +29,22 @@ branches:
1929
- master
2030
- /^release\/.+$/
2131

22-
matrix:
32+
jobs:
33+
allow_failures:
34+
- python: "3.9-dev"
2335
include:
24-
- python: "3.7"
25-
dist: xenial
26-
27-
- python: "3.8"
28-
dist: xenial
29-
3036
- name: Linting
3137
python: "3.8"
32-
dist: xenial
3338
install:
3439
- pip install tox
3540
script: tox -e linters
3641

3742
- python: "3.8"
38-
dist: xenial
3943
name: Distribution packages
4044
install: []
4145
script: make travis-upload-dist
4246

4347
- python: "3.8"
44-
dist: xenial
4548
name: Build documentation
4649
install: []
4750
script: make travis-upload-docs
@@ -50,12 +53,8 @@ before_script:
5053
- psql -c 'create database travis_ci_test;' -U postgres
5154
- psql -c 'create database test_travis_ci_test;' -U postgres
5255

53-
services:
54-
- postgresql
55-
5656
install:
57-
- pip install tox
58-
- pip install codecov
57+
- pip install codecov tox
5958
- make install-zeus-cli
6059

6160
script:

tox.ini

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[tox]
77
envlist =
88
# === Core ===
9-
py{2.7,3.4,3.5,3.6,3.7,3.8}
9+
py{2.7,3.4,3.5,3.6,3.7,3.8,3.9}
1010
pypy
1111

1212

@@ -23,19 +23,20 @@ envlist =
2323
{pypy,py2.7}-django-{1.6,1.7}
2424
{pypy,py2.7,py3.5}-django-{1.8,1.9,1.10,1.11}
2525
{py3.5,py3.6,py3.7}-django-{2.0,2.1}
26-
{py3.7,py3.8}-django-{2.2,3.0,3.1,dev}
26+
{py3.7,py3.8,py3.9}-django-{2.2,3.0,3.1,dev}
2727

28-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-flask-{1.1,1.0,0.11,0.12}
29-
{py3.6,py3.7,py3.8}-flask-{1.1,1.0,0.11,0.12,dev}
28+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-flask-{1.1,1.0,0.11,0.12}
29+
{py3.6,py3.7,py3.8,py3.9}-flask-{1.1,1.0,0.11,0.12,dev}
3030

31-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-bottle-0.12
31+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-bottle-0.12
3232

3333
{pypy,py2.7,py3.5,py3.6,py3.7}-falcon-1.4
34-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-falcon-2.0
34+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-falcon-2.0
3535

3636
{py3.5,py3.6,py3.7}-sanic-{0.8,18}
3737
{py3.6,py3.7}-sanic-19
3838

39+
# TODO: Add py3.9
3940
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-celery-{4.1,4.2,4.3,4.4}
4041
{pypy,py2.7}-celery-3
4142

@@ -46,42 +47,42 @@ envlist =
4647

4748
py3.7-gcp
4849

49-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-pyramid-{1.6,1.7,1.8,1.9,1.10}
50+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-pyramid-{1.6,1.7,1.8,1.9,1.10}
5051

5152
{pypy,py2.7,py3.5,py3.6}-rq-{0.6,0.7,0.8,0.9,0.10,0.11}
52-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-rq-{0.12,0.13,1.0,1.1,1.2,1.3}
53-
{py3.5,py3.6,py3.7,py3.8}-rq-{1.4,1.5}
53+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-rq-{0.12,0.13,1.0,1.1,1.2,1.3}
54+
{py3.5,py3.6,py3.7,py3.8,py3.9}-rq-{1.4,1.5}
5455

5556
py3.7-aiohttp-3.5
56-
{py3.7,py3.8}-aiohttp-3.6
57+
{py3.7,py3.8,py3.9}-aiohttp-3.6
5758

58-
{py3.7,py3.8}-tornado-{5,6}
59+
{py3.7,py3.8,py3.9}-tornado-{5,6}
5960

60-
{py3.4,py3.5,py3.6,py3.7,py3.8}-trytond-{4.6,4.8,5.0}
61-
{py3.5,py3.6,py3.7,py3.8}-trytond-{5.2}
62-
{py3.6,py3.7,py3.8}-trytond-{5.4}
61+
{py3.4,py3.5,py3.6,py3.7,py3.8,py3.9}-trytond-{4.6,4.8,5.0}
62+
{py3.5,py3.6,py3.7,py3.8,py3.9}-trytond-{5.2}
63+
{py3.6,py3.7,py3.8,py3.9}-trytond-{5.4}
6364

64-
{py2.7,py3.8}-requests
65+
{py2.7,py3.8,py3.9}-requests
6566

66-
{py2.7,py3.7,py3.8}-redis
67-
{py2.7,py3.7,py3.8}-rediscluster-{1,2}
67+
{py2.7,py3.7,py3.8,py3.9}-redis
68+
{py2.7,py3.7,py3.8,py3.9}-rediscluster-{1,2}
6869

69-
py{3.7,3.8}-asgi
70+
py{3.7,3.8,3.9}-asgi
7071

71-
{py2.7,py3.7,py3.8}-sqlalchemy-{1.2,1.3}
72+
{py2.7,py3.7,py3.8,py3.9}-sqlalchemy-{1.2,1.3}
7273

7374
py3.7-spark
7475

75-
{py3.5,py3.6,py3.7,py3.8}-pure_eval
76+
{py3.5,py3.6,py3.7,py3.8,py3.9}-pure_eval
7677

7778
[testenv]
7879
deps =
7980
-r test-requirements.txt
8081

8182
django-{1.11,2.0,2.1,2.2,3.0,3.1,dev}: djangorestframework>=3.0.0,<4.0.0
82-
{py3.7,py3.8}-django-{1.11,2.0,2.1,2.2,3.0,3.1,dev}: channels>2
83-
{py3.7,py3.8}-django-{1.11,2.0,2.1,2.2,3.0,3.1,dev}: pytest-asyncio==0.10.0
84-
{py2.7,py3.7,py3.8}-django-{1.11,2.2,3.0,3.1,dev}: psycopg2-binary
83+
{py3.7,py3.8,py3.9}-django-{1.11,2.0,2.1,2.2,3.0,3.1,dev}: channels>2
84+
{py3.7,py3.8,py3.9}-django-{1.11,2.0,2.1,2.2,3.0,3.1,dev}: pytest-asyncio==0.10.0
85+
{py2.7,py3.7,py3.8,py3.9}-django-{1.11,2.2,3.0,3.1,dev}: psycopg2-binary
8586

8687
django-{1.6,1.7,1.8}: pytest-django<3.0
8788
django-{1.9,1.10,1.11,2.0,2.1,2.2,3.0,3.1}: pytest-django>=3.0
@@ -237,6 +238,7 @@ basepython =
237238
py3.6: python3.6
238239
py3.7: python3.7
239240
py3.8: python3.8
241+
py3.9: python3.9
240242
linters: python3
241243
pypy: pypy
242244

0 commit comments

Comments
 (0)