Skip to content

Commit 33473b8

Browse files
committed
fix: Fix azure build
1 parent fae46f6 commit 33473b8

File tree

4 files changed

+12
-20
lines changed

4 files changed

+12
-20
lines changed

.travis.yml

-6
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,9 @@ branches:
2020
- /^release\/.+$/
2121

2222
matrix:
23-
allow_failures:
24-
- python: "3.8-dev"
25-
2623
include:
2724
- python: "3.7"
2825
dist: xenial
29-
- python: "3.8-dev"
30-
dist: xenial
31-
3226
- name: Linting
3327
python: "3.6"
3428
install:

azure-pipelines.yml

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ jobs:
3434
python.version: "3.6"
3535
Python37:
3636
python.version: "3.7"
37-
# Python 3.8 and PyPy will be soon added to the base VM image:
38-
# https://github.com/Microsoft/azure-pipelines-tasks/pull/9866
39-
Python38:
40-
python.version: "3.8-dev"
4137
PyPy2:
4238
python.version: "pypy2"
4339

scripts/runtox.sh

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ elif [ -n "$TRAVIS_PYTHON_VERSION" ]; then
1818
searchstring="$(echo py$TRAVIS_PYTHON_VERSION | sed -e 's/pypypy/pypy/g' -e 's/-dev//g')"
1919
elif [ -n "$AZURE_PYTHON_VERSION" ]; then
2020
searchstring="$(echo py$AZURE_PYTHON_VERSION | sed -e 's/pypypy/pypy/g' -e 's/-dev//g')"
21+
if [ "$searchstring" = pypy2 ]; then
22+
searchstring=pypy
23+
fi
2124
fi
2225

2326
exec $TOXPATH -e $($TOXPATH -l | grep "$searchstring" | tr '\n' ',') -- "${@:2}"

tox.ini

+9-10
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}
1010
pypy
1111

1212

@@ -20,16 +20,16 @@ envlist =
2020
{pypy,py2.7,py3.4}-django-1.7
2121
{pypy,py2.7}-django-1.6
2222

23-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-flask-{1.1,1.0,0.11,0.12,dev}
23+
{pypy,py2.7,py3.5,py3.6,py3.7}-flask-{1.1,1.0,0.11,0.12,dev}
2424

25-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-bottle-0.12
25+
{pypy,py2.7,py3.5,py3.6,py3.7}-bottle-0.12
2626

27-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-falcon-1.4
28-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-falcon-2.0
27+
{pypy,py2.7,py3.5,py3.6,py3.7}-falcon-1.4
28+
{pypy,py2.7,py3.5,py3.6,py3.7}-falcon-2.0
2929

3030
{py3.5,py3.6,py3.7}-sanic-{0.8,18}
3131

32-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-celery-{4.1,4.2,4.3}
32+
{pypy,py2.7,py3.5,py3.6,py3.7}-celery-{4.1,4.2,4.3}
3333
{pypy,py2.7}-celery-3
3434

3535
py2.7-beam-{12,13}
@@ -38,14 +38,14 @@ envlist =
3838
# The aws_lambda tests deploy to the real AWS and have their own matrix of Python versions.
3939
py3.7-aws_lambda
4040

41-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-pyramid-{1.3,1.4,1.5,1.6,1.7,1.8,1.9,1.10}
41+
{pypy,py2.7,py3.5,py3.6,py3.7}-pyramid-{1.3,1.4,1.5,1.6,1.7,1.8,1.9,1.10}
4242

4343
{pypy,py2.7,py3.5,py3.6}-rq-{0.6,0.7,0.8,0.9,0.10,0.11}
44-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-rq-{0.12,0.13,1.0,1.1}
44+
{pypy,py2.7,py3.5,py3.6,py3.7}-rq-{0.12,0.13,1.0,1.1}
4545

4646
py3.7-aiohttp-{3.5,3.6}
4747

48-
{py3.7,py3.8}-tornado-{5,6}
48+
{py3.7}-tornado-{5,6}
4949

5050
{py2.7,py3.7}-requests
5151

@@ -197,7 +197,6 @@ basepython =
197197
py3.5: python3.5
198198
py3.6: python3.6
199199
py3.7: python3.7
200-
py3.8: python3.8
201200
linters: python3
202201
pypy: pypy
203202

0 commit comments

Comments
 (0)