Skip to content

Commit c169c88

Browse files
committed
Use one job for each tox env on AppVeyor
Some time ago when we first added support for testing pytest on AppVeyor, jobs in a build would not start immediately one after the other, as if AppVeyor would schedule jobs from other builds (projects) in its VMs. So it made sense at the time to reduce the number of jobs. I have noticed in other projects that this behavior has changed, and jobs in a build now start one after the other. Having a separate list then improves visibility when the build fails, because we can see at a glance the failing(s) tox environment(s).
1 parent 5185f2a commit c169c88

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

appveyor.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@ environment:
66
# https://www.appveyor.com/docs/build-configuration#secure-variables
77

88
matrix:
9-
# create multiple jobs to execute a set of tox runs on each; this is to workaround having
10-
# builds timing out in AppVeyor
11-
- TOXENV: "linting,py26,py27,py33,py34,py35"
12-
- TOXENV: "py27-pexpect,py27-xdist,py27-trial,py35-pexpect,py35-xdist,py35-trial"
13-
- TOXENV: "py27-nobyte,doctesting,freeze,docs"
9+
- TOXENV: "linting"
10+
- TOXENV: "py26"
11+
- TOXENV: "py27"
12+
- TOXENV: "py33"
13+
- TOXENV: "py34"
14+
- TOXENV: "py35"
1415
- TOXENV: "pypy"
15-
16-
matrix:
17-
allow_failures:
18-
# pypy is disabled until #1963 gets fixed
19-
- TOXENV: "pypy"
16+
- TOXENV: "py27-pexpect"
17+
- TOXENV: "py27-xdist"
18+
- TOXENV: "py27-trial"
19+
- TOXENV: "py35-pexpect"
20+
- TOXENV: "py35-xdist"
21+
- TOXENV: "py35-trial"
22+
- TOXENV: "py27-nobyte"
23+
- TOXENV: "doctesting"
24+
- TOXENV: "freeze"
25+
- TOXENV: "docs"
2026

2127
install:
2228
- echo Installed Pythons

0 commit comments

Comments
 (0)