Skip to content

Commit

Permalink
Merge 271106a into 5070439
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Nov 11, 2019
2 parents 5070439 + 271106a commit 5d337e4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions appveyor.yml
Expand Up @@ -18,6 +18,13 @@ environment:

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
}
- ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" }
- echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
- pip install -e .

Expand All @@ -26,13 +33,13 @@ build_script:
- python -W ignore setup.py -q bdist_wheel

test_script:
- python setup.py test -q
- python setup.py -q test

artifacts:
- path: 'dist\*.whl'
name: wheel

deploy_script:
- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* }
- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine --skip-existing upload dist/* }

deploy: on

0 comments on commit 5d337e4

Please sign in to comment.