# AppVeyor (https://www.appveyor.com) continous integration configuration file for Windows unit tests
build: off

environment:
  PYTHONUNBUFFERED: 1
  matrix:
    - PYTHON: "C:\\Miniconda36-x64"
      PYTHON_VERSION: "3.6.x"
      PYTHON_ARCH: "64"
      TOXENV: "py36"
    - PYTHON: "C:\\Miniconda37-x64"
      PYTHON_VERSION: "3.7.x"
      PYTHON_ARCH: "64"
      TOXENV: "py37"
    - PYTHON: "C:\\Miniconda38-x64"
      PYTHON_VERSION: "3.8.x"
      PYTHON_ARCH: "64"
      TOXENV: "py38"

init:
  - "%PYTHON%/python -V"
  - mkdir C:\Users\appveyor\.conda
  - call %PYTHON%\Scripts\activate.bat

install:
  # Prepend the right Python version to the PATH of this build
  - "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 to the latest version of pip to avoid it displaying warnings
  # about it being out of date.
  - "python -m pip install --upgrade pip wheel setuptools tox"

test_script:
- "tox -e %TOXENV%"

# AppVeyor (https://www.appveyor.com) continous integration configuration file for Windows unit tests
build: off

environment:
  PYTHONUNBUFFERED: 1
  matrix:
    - PYTHON: "C:\\Miniconda36-x64"
      PYTHON_VERSION: "3.6.x"
      PYTHON_ARCH: "64"
      TOXENV: "py36"

    - PYTHON: "C:\\Miniconda37-x64"
      PYTHON_VERSION: "3.7.x"
      PYTHON_ARCH: "64"
      TOXENV: "py37"

init:
  - "%PYTHON%/python -V"
  - mkdir C:\Users\appveyor\.conda
  - call %PYTHON%\Scripts\activate.bat

install:
  # Prepend the right Python version to the PATH of this build
  - "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 to the latest version of pip to avoid it displaying warnings
  # about it being out of date.
  - "python -m pip install --upgrade pip wheel setuptools tox"

test_script:
- "tox -e %TOXENV%"

Remove Python 3.8 from AppVeyor since it doesn't seem to yet support it, at least not in a Miniconda environment
Remove Python 3.8 from AppVeyor since it doesn't seem to yet support it, at least not in a Miniconda environment
