build: false

environment:
  PYTHONIOENCODING: "UTF-8"

  matrix:
    - PYTHON: "C:/Python27-x64"
    - PYTHON: "C:/Python35-x64"
    - PYTHON: "C:/Python36-x64"
    - PYTHON: "C:/Python37-x64"


install:
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

  # Upgrade to the latest version of pip to avoid it displaying warnings
  # about it being out of date.
  - "python -m pip install --disable-pip-version-check --user --upgrade pip"

  # Installing Poetry
  - "python get-poetry.py --preview -y"
  - "SET PATH=%USERPROFILE%\\.poetry\\bin;%PATH%"

  # Install dependencies
  - "poetry install -v"

test_script:
  - "poetry run pytest --cov=poetry tests/ -W ignore"
