|
@@ -15,7 +15,6 @@ environment: |
|
|
WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd" |
|
|
WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd" |
|
|
PIP: "%WRAPPER% %PYTHON%\\Scripts\\pip.exe" |
|
|
PIP: "%WRAPPER% %PYTHON%\\Scripts\\pip.exe" |
|
|
SETUPPY: "%WRAPPER% %PYTHON%\\python setup.py --with-extension" |
|
|
SETUPPY: "%WRAPPER% %PYTHON%\\python setup.py --with-extension" |
|
|
PYMOD: "%WRAPPER% %PYTHON%\\python -m" |
|
|
|
|
|
PYPI_USERNAME: "earwigbot" |
|
|
PYPI_USERNAME: "earwigbot" |
|
|
PYPI_PASSWORD: |
|
|
PYPI_PASSWORD: |
|
|
secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+ |
|
|
secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+ |
|
@@ -67,7 +66,7 @@ after_test: |
|
|
- "%SETUPPY% bdist_wheel" |
|
|
- "%SETUPPY% bdist_wheel" |
|
|
|
|
|
|
|
|
on_success: |
|
|
on_success: |
|
|
- "IF %APPVEYOR_REPO_BRANCH%==master %PYMOD% twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%" |
|
|
|
|
|
|
|
|
- "IF %APPVEYOR_REPO_BRANCH%==master %WRAPPER% %PYTHON%\\python -m twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%" |
|
|
|
|
|
|
|
|
artifacts: |
|
|
artifacts: |
|
|
- path: dist\* |
|
|
- path: dist\* |
|
|