Skip to content

Commit f0e0250

Browse files
authored
Merge pull request #2056 from nicoddemus/appveyor-list
Use one job for each tox env on AppVeyor
2 parents 5185f2a + ec69514 commit f0e0250

3 files changed

Lines changed: 25 additions & 18 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include tox.ini
1010
include setup.py
1111

1212
recursive-include scripts *.py
13+
recursive-include scripts *.bat
1314

1415
include .coveragerc
1516

appveyor.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@ 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+
# note: please use "tox --listenvs" to populate the build matrix below
10+
- TOXENV: "linting"
11+
- TOXENV: "py26"
12+
- TOXENV: "py27"
13+
- TOXENV: "py33"
14+
- TOXENV: "py34"
15+
- TOXENV: "py35"
1416
- TOXENV: "pypy"
15-
16-
matrix:
17-
allow_failures:
18-
# pypy is disabled until #1963 gets fixed
19-
- TOXENV: "pypy"
17+
- TOXENV: "py27-pexpect"
18+
- TOXENV: "py27-xdist"
19+
- TOXENV: "py27-trial"
20+
- TOXENV: "py35-pexpect"
21+
- TOXENV: "py35-xdist"
22+
- TOXENV: "py35-trial"
23+
- TOXENV: "py27-nobyte"
24+
- TOXENV: "doctesting"
25+
- TOXENV: "freeze"
26+
- TOXENV: "docs"
2027

2128
install:
2229
- echo Installed Pythons
2330
- dir c:\Python*
2431

25-
# install pypy using choco (redirect to a file and write to console in case
26-
# choco install returns non-zero, because choco install python.pypy is too
27-
# noisy)
28-
# pypy is disabled until #1963 gets fixed
29-
- choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
30-
- set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
31-
- echo PyPy installed
32-
- pypy --version
32+
- if "%TOXENV%" == "pypy" scripts\install-pypy.bat
3333

3434
- C:\Python35\python -m pip install tox
3535

scripts/install-pypy.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
REM install pypy using choco
2+
REM redirect to a file because choco install python.pypy is too noisy. If the command fails, write output to console
3+
choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
4+
set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
5+
echo PyPy installed
6+
pypy --version

0 commit comments

Comments
 (0)