Commit 98a435e4 authored by Marius Gedminas's avatar Marius Gedminas

Always build wheels and archive them as artifacts

parent bab2aa37
environment: environment:
password: global:
secure: UcdTh6W78cRLVGfKRFoa5A== TWINE_USERNAME: zope.wheelbuilder
TWINE_PASSWORD:
secure: UcdTh6W78cRLVGfKRFoa5A==
matrix: matrix:
- python : 27 - python: 27
- python : 27-x64 - python: 27-x64
- python : 33 - python: 33
- python : 33-x64 - python: 33-x64
- python : 34 - python: 34
- python : 34-x64 - python: 34-x64
- python : 35 - python: 35
- python : 35-x64 - python: 35-x64
install: install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%" - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
- 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" - 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 .[ZODB] - pip install -e .[ZODB]
build: false build_script:
- pip install wheel
- python -W ignore setup.py -q bdist_wheel
test_script: test_script:
- python setup.py -q test -q - python setup.py -q test -q
on_success: artifacts:
- echo Build succesful! - path: 'dist\*.whl'
name: wheel
deploy_script: deploy_script:
- echo [distutils] > %USERPROFILE%\\.pypirc - ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* }
- echo index-servers = >> %USERPROFILE%\\.pypirc
- echo pypi >> %USERPROFILE%\\.pypirc
- echo [pypi] >> %USERPROFILE%\\.pypirc
- echo repository=https://pypi.python.org/pypi >> %USERPROFILE%\\.pypirc
- echo username=zope.wheelbuilder >> %USERPROFILE%\\.pypirc
- echo password=%password% >> %USERPROFILE%\\.pypirc
- set HOME=%USERPROFILE%
- pip install wheel twine
- ps: if($env:APPVEYOR_REPO_TAG -eq $TRUE) { python -W ignore setup.py bdist_wheel; twine upload dist/* }
deploy : on deploy: on
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment