forked from cherrypy/cherrypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (29 loc) · 925 Bytes
/
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
environment:
matrix:
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python27-x64"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
- "SET PYTHON=\"C:\\Program Files\\Python\""
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install tox"
before_build:
- "python -m pip install wheel"
build_script:
- python -m setup bdist_wheel
test_script:
- tox
after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\.test-results\pytest\results.xml))
#deploy_script:
#- ps: >-
# if($env:appveyor_repo_tag -eq 'True') {
# Invoke-Expression "python -m twine upload dist/* --username $env:PYPI_USERNAME --password $env:PYPI_PASSWORD"
# }
artifacts:
- path: dist\*