forked from pypa/setuptools-scm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
45 lines (33 loc) · 1.16 KB
/
appveyor.yml
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
45
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 setuptools
- python -m pip install -U pip
- python -m pip install -U wheel
- python -m pip install -U 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.
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- ps: "ls dist"
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*