File tree 4 files changed +25
-5
lines changed
4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ environment:
18
18
- PYTHON : " C:\\ Python36-x64\\ python.exe"
19
19
- PYTHON : " C:\\ Python37\\ python.exe"
20
20
- PYTHON : " C:\\ Python37-x64\\ python.exe"
21
+ - PYTHON : " C:\\ Python38\\ python.exe"
22
+ - PYTHON : " C:\\ Python38-x64\\ python.exe"
21
23
22
24
branches :
23
25
# Avoid building PR branches.
Original file line number Diff line number Diff line change @@ -39,9 +39,12 @@ pip install -U -r ".ci/requirements-publish.txt"
39
39
if [ " ${TRAVIS_OS_NAME} " == " linux" ]; then
40
40
for pyver in ${RELEASE_PYTHON_VERSIONS} ; do
41
41
ML_PYTHON_VERSION=$( python3 -c \
42
- " print('cp{maj}{min}-cp{maj}{min}m '.format( \
42
+ " print('cp{maj}{min}-cp{maj}{min}{s} '.format( \
43
43
maj='${pyver} '.split('.')[0], \
44
- min='${pyver} '.split('.')[1]))" )
44
+ min='${pyver} '.split('.')[1],
45
+ s='m' if tuple('${pyver} '.split('.')) < ('3', '8') \
46
+ else ''))" )
47
+
45
48
46
49
for arch in x86_64 i686; do
47
50
ML_IMAGE=" quay.io/pypa/manylinux1_${arch} "
Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ P="${PYMODULE}-${PACKAGE_VERSION}"
30
30
expected_wheels=()
31
31
32
32
for pyver in ${RELEASE_PYTHON_VERSIONS} ; do
33
- pyver=" ${pyver// ./ } "
34
- abitag=" cp${pyver} -cp${pyver} m"
33
+ abitag=$( python -c \
34
+ " print('cp{maj}{min}-cp{maj}{min}{s}'.format( \
35
+ maj='${pyver} '.split('.')[0], \
36
+ min='${pyver} '.split('.')[1],
37
+ s='m' if tuple('${pyver} '.split('.')) < ('3', '8') else ''))" )
35
38
for plat in " ${release_platforms[@]} " ; do
36
39
expected_wheels+=(" ${P} -${abitag} -${plat} .whl" )
37
40
done
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: generic
3
3
env :
4
4
global :
5
5
- PYMODULE=asyncpg
6
- - RELEASE_PYTHON_VERSIONS="3.5 3.6 3.7"
6
+ - RELEASE_PYTHON_VERSIONS="3.5 3.6 3.7 3.8 "
7
7
8
8
- S3_UPLOAD_USERNAME=oss-ci-bot
9
9
- S3_UPLOAD_BUCKET=magicstack-oss-releases
@@ -124,6 +124,15 @@ matrix:
124
124
addons :
125
125
apt : {packages: [postgresql-12]}
126
126
127
+ - os : linux
128
+ dist : xenial
129
+ sudo : true
130
+ language : python
131
+ python : " 3.8"
132
+ env : BUILD=tests PGVERSION=12
133
+ addons :
134
+ apt : {packages: [postgresql-12]}
135
+
127
136
# Build manylinux wheels. Each wheel will be tested,
128
137
# so there is no need for BUILD=tests here.
129
138
# Also use this job to publish the releases and build
@@ -147,6 +156,9 @@ matrix:
147
156
- os : osx
148
157
env : BUILD=tests,wheels PYTHON_VERSION=3.7.4 PGVERSION=10
149
158
159
+ - os : osx
160
+ env : BUILD=tests,wheels PYTHON_VERSION=3.8.0 PGVERSION=10
161
+
150
162
cache :
151
163
pip
152
164
You can’t perform that action at this time.
0 commit comments