summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 5319f7c5bb2c932ce21de3094b9f5647a94ddf2d (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
environment:
  matrix:
    - PYTHON: "C:\\Python27"
      TOXENV: "py-test"

    - PYTHON: "C:\\Python27-x64"
      TOXENV: "py-test"

    - PYTHON: "C:\\Python34"
      TOXENV: "py-test"

    - PYTHON: "C:\\Python34-x64"
      TOXENV: "py-test"

init:
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

  - ECHO "Updating Environment"
  - python -m pip install -U pip
  - python -m pip install -U pep517
  - python -m pip install -U --upgrade-strategy=eager tox


install:
  # Check that we have the expected version and architecture for Python
  - python -c "import sys, os;sys.stdout.write(str(sys.version) + os.linesep)"
  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
  - python -m pip list

build: false  # Not a C# project, build stuff at the test step instead.

test_script:
  # Build the compiled extension and run the project tests
  - python -m tox

after_test:
  # If tests are successful, create a whl package for the project.
  - python -m pep517.build --binary .
  - ps: "ls dist"

artifacts:
  # Archive the generated wheel package in the ci.appveyor.com build report.
  - path: dist\*