2015-12-16 15:36:35 +00:00
|
|
|
version: '{branch}-{build}'
|
|
|
|
build: off
|
|
|
|
cache:
|
|
|
|
- 'C:\\tmp'
|
2014-09-22 03:55:23 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2015-12-16 15:36:35 +00:00
|
|
|
- PYTHON: "C:\\Python35"
|
|
|
|
TOXENV: "py35"
|
2014-09-22 03:55:23 +00:00
|
|
|
|
2017-01-03 06:58:17 +00:00
|
|
|
- PYTHON: "C:\\Python36"
|
|
|
|
TOXENV: "py36"
|
|
|
|
|
2019-06-20 07:51:50 +00:00
|
|
|
- PYTHON: "C:\\Python37"
|
|
|
|
TOXENV: "py37"
|
|
|
|
|
2015-12-16 15:36:35 +00:00
|
|
|
init:
|
|
|
|
- ps: echo $env:TOXENV
|
|
|
|
- ps: ls C:\Python*
|
|
|
|
- ps: mkdir C:\tmp
|
|
|
|
install:
|
2020-03-19 18:03:56 +00:00
|
|
|
- 'SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%'
|
2019-05-20 06:53:39 +00:00
|
|
|
- 'python -m pip install -U setuptools pip tox wheel virtualenv'
|
2015-12-16 15:36:35 +00:00
|
|
|
- 'python -m pip --version'
|
|
|
|
- 'python -m tox --version'
|
2014-09-22 03:55:23 +00:00
|
|
|
|
|
|
|
test_script:
|
2015-12-16 15:36:35 +00:00
|
|
|
- 'python -m tox'
|
2014-09-22 03:55:23 +00:00
|
|
|
|
2015-12-16 15:36:35 +00:00
|
|
|
on_failure:
|
|
|
|
- ps: dir "env:"
|
|
|
|
- ps: get-content .tox\*\log\*
|