branches:
  only:
    - release
    - pre-release

environment:
  COLUMNS: 999
  matrix:
    - PYTHON: "C:\\Python35-x64"
    - PYTHON: "C:\\Python36-x64"
    - PYTHON: "C:\\Python37-x64"
    # Disable for 0.7 pre-release
    # See https://ci.appveyor.com/project/GuildAI/guildai/builds/31131417/job/g9r6vucfl0cnmhba
    ##- PYTHON: "C:\\Python38-x64"

install:
  - "%PYTHON%\\python.exe -m pip install -U pip"
  - "%PYTHON%\\python.exe -m pip install -U setuptools"
  - "%PYTHON%\\python.exe -m pip install wheel"
  - "%PYTHON%\\python.exe -m pip install twine"
  - "%PYTHON%\\python.exe -m pip install -r requirements-windows.txt"
  - "%PYTHON%\\python.exe -m pip install pandas"

build: off

test_script:
  - "%PYTHON%\\python.exe setup.py bdist_wheel"
  - "%PYTHON%\\python.exe guild\\scripts\\guild check --offline -vT"

after_test:
  - "%PYTHON%\\python.exe -m twine upload --skip-existing dist\\*.whl"

artifacts:
  - path: dist\*

# Uncomment to enable post-mortem debugging over RDP:
##on_finish:
##  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

branches:
  only:
    - release
    - pre-release

environment:
  COLUMNS: 999
  matrix:
    - PYTHON: "C:\\Python35-x64"
    - PYTHON: "C:\\Python36-x64"
    - PYTHON: "C:\\Python37-x64"
    - PYTHON: "C:\\Python38-x64"

install:
  - "%PYTHON%\\python.exe -m pip install -U pip"
  - "%PYTHON%\\python.exe -m pip install -U setuptools"
  - "%PYTHON%\\python.exe -m pip install wheel"
  - "%PYTHON%\\python.exe -m pip install twine"
  - "%PYTHON%\\python.exe -m pip install -r requirements-windows.txt"
  - "%PYTHON%\\python.exe -m pip install pandas"

build: off

test_script:
  - "%PYTHON%\\python.exe setup.py bdist_wheel"
  - "%PYTHON%\\python.exe guild\\scripts\\guild check --offline -vT"

after_test:
  - "%PYTHON%\\python.exe -m twine upload --skip-existing dist\\*.whl"

artifacts:
  - path: dist\*

# Uncomment to enable post-mortem debugging over RDP:
##on_finish:
##  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

Enable 3.8 builds for Windows
Enable 3.8 builds for Windows
