|
|
@@ -14,6 +14,9 @@ environment: |
|
|
|
WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd" |
|
|
|
PIP: "%WRAPPER% %PYTHON%\\Scripts\\pip.exe" |
|
|
|
SETUPPY: "%WRAPPER% %PYTHON%\\python setup.py --with-extension" |
|
|
|
PYPI_USERNAME: "earwigbot" |
|
|
|
PYPI_PASSWORD: |
|
|
|
secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+ |
|
|
|
|
|
|
|
matrix: |
|
|
|
- PYTHON: "C:\\Python27" |
|
|
@@ -41,7 +44,7 @@ environment: |
|
|
|
PYTHON_ARCH: "64" |
|
|
|
|
|
|
|
install: |
|
|
|
- "%PIP% install wheel" |
|
|
|
- "%PIP% install wheel twine" |
|
|
|
|
|
|
|
build_script: |
|
|
|
- "%SETUPPY% build" |
|
|
@@ -52,6 +55,9 @@ test_script: |
|
|
|
after_test: |
|
|
|
- "%SETUPPY% bdist_wheel" |
|
|
|
|
|
|
|
on_success: |
|
|
|
- "twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%" |
|
|
|
|
|
|
|
artifacts: |
|
|
|
- path: dist\* |
|
|
|
|
|
|
|