summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: b8d7a72dbbe4367af8cf7b2044c87ca87f04823b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: 1.0.{build}

environment:
  matrix:
  - python: 39
  - python: 39-x64
  - python: 27
  - python: 27-x64
  - python: 38
  - python: 38-x64
  - python: 37
  - python: 37-x64
  - python: 36
  - python: 36-x64
  - python: 35
  - python: 35-x64
  - python: 39
    arch: arm64
    env: STATIC_DEPS=true
  - python: 38
    arch: arm64
    env: STATIC_DEPS=true

install:
    - SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%
    - ps: |
        $env:PYTHON = "C:\\Python$($env:PYTHON)"
        if (-not (Test-Path $env:PYTHON)) {
          curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1
          .\\install_python.ps1
        }
        # remove the above when appveyor has proper Python 3.8 support
    - python -m pip.__main__ install -U pip wheel setuptools
    - pip install -r requirements.txt

build: off
build_script:
  - python -u setup.py bdist_wheel --static-deps
  - python -u setup.py build_ext --inplace --static-deps
  - python -u test.py -vv -p

test: off
test_script:
  - ps: Get-ChildItem dist\*.whl | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }