init:
  - "SET PATH=C:\\Python37\\Scripts;%PATH%"
  - "SET PYTEST_ADDOPTS=-vv"
  - "ECHO PATH=%PATH%"

build: off

install:
  - pip3 install poetry
  - poetry install

test_script:
  - pytest -s --cov=isort/ --cov=test_isort.py --cov-report=term-missing ${@} --cov-report html

on_success:
  # Add tox environment to PATH.
  - "SET PATH=%CD%\\.tox\\%TOXENV%\\scripts;%PATH%"
  - IF NOT "x%TOXENV:-coverage=%"=="x%TOXENV%" (
      pip install codecov &&
      coverage xml &&
      coverage report -m &&
      codecov --required -X gcov pycov search -f coverage.xml -n %TOXENV%-windows
    )

init:
  - "SET PATH=C:\\Python37\\Scripts;%PATH%"
  - "SET PYTEST_ADDOPTS=-vv"
  - "ECHO PATH=%PATH%"

build: off

install:
  - pip3 install poetry
  - poetry install

test_script:
  - poetry run pytest -s --cov=isort/ --cov=test_isort.py --cov-report=term-missing ${@} --cov-report html

on_success:
  # Add tox environment to PATH.
  - "SET PATH=%CD%\\.tox\\%TOXENV%\\scripts;%PATH%"
  - IF NOT "x%TOXENV:-coverage=%"=="x%TOXENV%" (
      pip install codecov &&
      coverage xml &&
      coverage report -m &&
      codecov --required -X gcov pycov search -f coverage.xml -n %TOXENV%-windows
    )

Fix pytest run on AppVeyor
Fix pytest run on AppVeyor
