version: 1.0.{build}

environment:
  matrix:
    - PYTHON: "C:\\Python27"
    - PYTHON: "C:\\Python27-x64"
    - PYTHON: "C:\\Python36"
    - PYTHON: "C:\\Python36-x64"
    - PYTHON: "C:\\Python37"
    - PYTHON: "C:\\Python37-x64"
    - PYTHON: "C:\\Python38"
    - PYTHON: "C:\\Python38-x64"

install:
  - cmd: "%PYTHON%\\python.exe -m pip install --upgrade pip wheel"

build: off

test_script:
  - cmd: "%PYTHON%\\python.exe -m pip install ."
  - cmd: "%PYTHON%\\python.exe setup.py test"
  - dir
  - mkdir wheels
  - cmd: "%PYTHON%\\python.exe -m pip wheel . --wheel-dir=wheels"
  - dir wheels

artifacts:
  - path: wheels\*

version: 1.0.{build}

environment:
  matrix:
    - PYTHON: "C:\\Python36"
    - PYTHON: "C:\\Python36-x64"
    - PYTHON: "C:\\Python37"
    - PYTHON: "C:\\Python37-x64"
    - PYTHON: "C:\\Python38"
    - PYTHON: "C:\\Python38-x64"
    - PYTHON: "C:\\Python39-x64"
    - PYTHON: "C:\\Python310-x64"

install:
  - cmd: "%PYTHON%\\python.exe -m pip install --upgrade pip wheel"

build: off

test_script:
  - cmd: "%PYTHON%\\python.exe -m pip install ."
  - cmd: "%PYTHON%\\python.exe setup.py test"
  - dir
  - mkdir wheels
  - cmd: "%PYTHON%\\python.exe -m pip wheel . --wheel-dir=wheels"
  - dir wheels

artifacts:
  - path: wheels\*

Add support for Python 39 and 310. Drop 2.7
Add support for Python 39 and 310. Drop 2.7

Signed-off-by: Philippe Ombredanne <ca95c4a6a4931f366cbdaf5878c5016609417d37@nexb.com>