Skip to content

Commit 716fd9d

Browse files
committed
Enable CI testing on PostgreSQL 11
Closes: #379
1 parent ddb0ec2 commit 716fd9d

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

.travis.yml

+22-13
Original file line numberDiff line numberDiff line change
@@ -84,48 +84,57 @@ matrix:
8484
addons:
8585
apt: {packages: [postgresql-9.6]}
8686

87-
# Do a full test run on the latest supported version of PostgreSQL
88-
# on each supported version of Python.
8987
- os: linux
9088
dist: trusty
9189
sudo: false
9290
language: python
93-
python: "3.5"
94-
env: BUILD=tests PGVERSION=10
91+
python: "3.6"
92+
env: BUILD=quicktests PGVERSION=10
9593
addons:
9694
apt: {packages: [postgresql-10]}
9795

96+
# Do a full test run on the latest supported version of PostgreSQL
97+
# on each supported version of Python.
9898
- os: linux
99-
dist: trusty
100-
sudo: false
99+
dist: xenial
100+
sudo: required
101+
language: python
102+
python: "3.5"
103+
env: BUILD=tests PGVERSION=11
104+
addons:
105+
apt: {packages: [postgresql-11]}
106+
107+
- os: linux
108+
dist: xenial
109+
sudo: required
101110
language: python
102111
python: "3.6"
103-
env: BUILD=tests PGVERSION=10
112+
env: BUILD=tests PGVERSION=11
104113
addons:
105-
apt: {packages: [postgresql-10]}
114+
apt: {packages: [postgresql-11]}
106115

107116
- os: linux
108117
dist: xenial
109118
sudo: true
110119
language: python
111120
python: "3.7"
112-
env: BUILD=tests PGVERSION=10
121+
env: BUILD=tests PGVERSION=11
113122
addons:
114-
apt: {packages: [postgresql-10]}
123+
apt: {packages: [postgresql-11]}
115124

116125
# Build manylinux wheels. Each wheel will be tested,
117126
# so there is no need for BUILD=tests here.
118127
# Also use this job to publish the releases and build
119128
# the documentation.
120129
- os: linux
121-
dist: trusty
130+
dist: xenial
122131
sudo: required
123132
language: python
124133
python: "3.6"
125-
env: BUILD=wheels,docs,release PGVERSION=10
134+
env: BUILD=wheels,docs,release PGVERSION=11
126135
services: [docker]
127136
addons:
128-
apt: {packages: [postgresql-10]}
137+
apt: {packages: [postgresql-11]}
129138

130139
- os: osx
131140
env: BUILD=tests,wheels PYTHON_VERSION=3.5.5 PGVERSION=10

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ framework. You can read more about asyncpg in an introductory
1717
`blog post <http://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/>`_.
1818

1919
asyncpg requires Python 3.5 or later and is supported for PostgreSQL
20-
versions 9.2 to 10.
20+
versions 9.2 to 11.
2121

2222

2323
Documentation

0 commit comments

Comments
 (0)