There's no point in creating a huge matrix because AppVeyor does not run the builds in parallel; in fact it will greatly increase build times as each matrix will boot a separate VM to execute on. Also removed install.ps1 and run_with_env.cmd, which are only really required if you have C extensions.
18 lines
430 B
YAML
18 lines
430 B
YAML
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\Python35"
|
|
TESTENV: "py35"
|
|
|
|
- PYTHON: "C:\\Python27"
|
|
TESTENV: "py27"
|
|
|
|
install:
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
- pip install tox setuptools_scm"
|
|
|
|
build: false # Not a C# project, build stuff at the test step instead.
|
|
|
|
test_script:
|
|
# Build the compiled extension and run the project tests
|
|
- tox -e %TESTENV%-pytest27,%TESTENV%-pytest28,readme,flakes
|