# stolen from https://github.com/jakubroztocil/httpie/blob/master/appveyor.yml
build: false
environment:
  matrix:
    - PYTHON: "C:/Python37"
init:
  - "ECHO %PYTHON%"
  - ps: "ls C:/Python*"
  - "set path=%PYTHON%/Scripts;%path%"
  - "%PYTHON%/python.exe --version"
  - "%PYTHON%/Scripts/pip.exe --version"

install:
  - "%PYTHON%/python.exe -m pip install --upgrade-strategy eager -U pip setuptools wheel"
  - "%PYTHON%/python.exe -m pip install --upgrade-strategy eager -Ur requirements-tests.txt"
  - "%PYTHON%/python.exe -m pip install ."

test_script:
  - "py.test tests/"
  - "nikola"
  - "nikola help"

# based on https://github.com/jakubroztocil/httpie/blob/master/appveyor.yml
build: false
environment:
  matrix:
    - PYTHON: "C:/Python38"
init:
  - "ECHO %PYTHON%"
  - ps: "ls C:/Python*"
  - "set path=%PYTHON%/Scripts;%path%"
  - "%PYTHON%/python.exe --version"
  - "%PYTHON%/Scripts/pip.exe --version"

install:
  - "%PYTHON%/python.exe -m pip install --upgrade-strategy eager -U pip setuptools wheel"
  - "%PYTHON%/python.exe -m pip install --upgrade-strategy eager -Ur requirements-tests.txt"
  - "%PYTHON%/python.exe -m pip install ."

test_script:
  - "py.test tests/"
  - "nikola"
  - "nikola help"

Use Python 3.8 for tests on AppVeyor
Use Python 3.8 for tests on AppVeyor
