environment: matrix: - PYTHON: "C:\\Python27" PYTHON_VERSION: "2.7.x" PYTHON_ARCH: "32" TOXENV: "py27-fs" TOXPYTHON: "C:\\Python27\\python.exe" - 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" PYTHON_ARCH: "32" TOXENV: "py35-fs" TOXPYTHON: "C:\\Python35\\python.exe" - PYTHON: "C:\\Python35" PYTHON_VERSION: "3.5.x" PYTHON_ARCH: "32" TOXENV: "py35-nofs" TOXPYTHON: "C:\\Python35\\python.exe" - 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" - PYTHON: "C:\\Python27-x64" PYTHON_VERSION: "2.7.x" PYTHON_ARCH: "64" TOXENV: "py27-fs" TOXPYTHON: "C:\\Python27-x64\\python.exe" - 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" PYTHON_ARCH: "64" TOXENV: "py35-fs" TOXPYTHON: "C:\\Python35-x64\\python.exe" - PYTHON: "C:\\Python35-x64" PYTHON_VERSION: "3.5.x" PYTHON_ARCH: "64" TOXENV: "py35-nofs" TOXPYTHON: "C:\\Python35-x64\\python.exe" - 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" init: - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" install: # install Python and pip when not already installed - ps: (new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/pypa/python-packaging-user-guide/49bf76f/source/code/install.ps1', 'install.ps1') - 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" # install/upgrade setuptools and wheel to build packages - "pip install --upgrade setuptools wheel" # install tox to run test suite in a virtual environment - "pip install -U tox" build: false test_script: - "tox"