2015-11-08 16:15:08 +00:00
|
|
|
environment:
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
- PYTHON: "C:\\Python27"
|
|
|
|
PYTHON_VERSION: "2.7.x"
|
|
|
|
PYTHON_ARCH: "32"
|
2017-07-21 12:16:01 +01:00
|
|
|
TOXENV: "py27-fs"
|
2016-09-11 17:06:39 +01:00
|
|
|
TOXPYTHON: "C:\\Python27\\python.exe"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
2017-07-21 12:16:01 +01:00
|
|
|
- PYTHON: "C:\\Python27"
|
|
|
|
PYTHON_VERSION: "2.7.x"
|
|
|
|
PYTHON_ARCH: "32"
|
|
|
|
TOXENV: "py27-nofs"
|
|
|
|
TOXPYTHON: "C:\\Python27\\python.exe"
|
|
|
|
|
|
|
|
- PYTHON: "C:\\Python35"
|
|
|
|
PYTHON_VERSION: "3.5.x"
|
2015-11-08 16:15:08 +00:00
|
|
|
PYTHON_ARCH: "32"
|
2017-07-21 12:16:01 +01:00
|
|
|
TOXENV: "py35-fs"
|
|
|
|
TOXPYTHON: "C:\\Python35\\python.exe"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
|
|
|
- PYTHON: "C:\\Python35"
|
2016-09-11 17:06:39 +01:00
|
|
|
PYTHON_VERSION: "3.5.x"
|
2015-11-08 16:15:08 +00:00
|
|
|
PYTHON_ARCH: "32"
|
2017-07-21 12:16:01 +01:00
|
|
|
TOXENV: "py35-nofs"
|
2016-09-11 17:06:39 +01:00
|
|
|
TOXPYTHON: "C:\\Python35\\python.exe"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
2017-07-21 12:16:01 +01:00
|
|
|
- PYTHON: "C:\\Python36"
|
|
|
|
PYTHON_VERSION: "3.6.x"
|
|
|
|
PYTHON_ARCH: "32"
|
|
|
|
TOXENV: "py36-fs"
|
|
|
|
TOXPYTHON: "C:\\Python36\\python.exe"
|
|
|
|
|
|
|
|
- PYTHON: "C:\\Python36"
|
|
|
|
PYTHON_VERSION: "3.6.x"
|
|
|
|
PYTHON_ARCH: "32"
|
|
|
|
TOXENV: "py36-nofs"
|
|
|
|
TOXPYTHON: "C:\\Python36\\python.exe"
|
|
|
|
|
2015-11-08 16:15:08 +00:00
|
|
|
- PYTHON: "C:\\Python27-x64"
|
|
|
|
PYTHON_VERSION: "2.7.x"
|
|
|
|
PYTHON_ARCH: "64"
|
2017-07-21 12:16:01 +01:00
|
|
|
TOXENV: "py27-fs"
|
2016-09-11 17:06:39 +01:00
|
|
|
TOXPYTHON: "C:\\Python27-x64\\python.exe"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
2017-07-21 12:16:01 +01:00
|
|
|
- PYTHON: "C:\\Python27-x64"
|
|
|
|
PYTHON_VERSION: "2.7.x"
|
|
|
|
PYTHON_ARCH: "64"
|
|
|
|
TOXENV: "py27-nofs"
|
|
|
|
TOXPYTHON: "C:\\Python27-x64\\python.exe"
|
|
|
|
|
|
|
|
- PYTHON: "C:\\Python35-x64"
|
|
|
|
PYTHON_VERSION: "3.5.x"
|
2015-11-08 16:15:08 +00:00
|
|
|
PYTHON_ARCH: "64"
|
2017-07-21 12:16:01 +01:00
|
|
|
TOXENV: "py35-fs"
|
|
|
|
TOXPYTHON: "C:\\Python35-x64\\python.exe"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
|
|
|
- PYTHON: "C:\\Python35-x64"
|
|
|
|
PYTHON_VERSION: "3.5.x"
|
|
|
|
PYTHON_ARCH: "64"
|
2017-07-21 12:16:01 +01:00
|
|
|
TOXENV: "py35-nofs"
|
2016-09-11 17:06:39 +01:00
|
|
|
TOXPYTHON: "C:\\Python35-x64\\python.exe"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
2017-07-21 12:16:01 +01:00
|
|
|
- PYTHON: "C:\\Python36-x64"
|
|
|
|
PYTHON_VERSION: "3.6.x"
|
|
|
|
PYTHON_ARCH: "64"
|
|
|
|
TOXENV: "py36-fs"
|
|
|
|
TOXPYTHON: "C:\\Python36-x64\\python.exe"
|
|
|
|
|
|
|
|
- PYTHON: "C:\\Python36-x64"
|
|
|
|
PYTHON_VERSION: "3.6.x"
|
|
|
|
PYTHON_ARCH: "64"
|
|
|
|
TOXENV: "py36-nofs"
|
|
|
|
TOXPYTHON: "C:\\Python36-x64\\python.exe"
|
|
|
|
|
2015-11-08 16:15:08 +00:00
|
|
|
init:
|
|
|
|
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
|
|
|
|
|
|
|
|
install:
|
|
|
|
# install Python and pip when not already installed
|
2015-12-29 16:04:29 +01:00
|
|
|
- ps: (new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/pypa/python-packaging-user-guide/49bf76f/source/code/install.ps1', 'install.ps1')
|
2015-11-08 16:15:08 +00:00
|
|
|
- ps: if (-not(Test-Path($env:PYTHON))) { & install.ps1 }
|
|
|
|
|
|
|
|
# prepend newly installed Python to the PATH
|
|
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
|
|
|
|
|
|
# check that we have the expected version and architecture for Python
|
|
|
|
- "python --version"
|
|
|
|
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
|
|
|
|
|
|
|
|
# upgrade pip to avoid out-of-date warnings
|
|
|
|
- "pip install --disable-pip-version-check --user --upgrade pip"
|
|
|
|
|
2016-09-11 17:06:39 +01:00
|
|
|
# install/upgrade setuptools and wheel to build packages
|
|
|
|
- "pip install --upgrade setuptools wheel"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
2016-09-11 17:06:39 +01:00
|
|
|
# install tox to run test suite in a virtual environment
|
|
|
|
- "pip install -U tox"
|
2015-11-08 16:15:08 +00:00
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2016-09-11 17:06:39 +01:00
|
|
|
- "tox"
|