mirror of
https://github.com/clearml/wexpect-venv
synced 2025-02-07 05:20:52 +00:00
[REF] refactor appveyor deployment
This commit is contained in:
parent
f16204f6fd
commit
61c4d434e2
15
appveyor.yml
15
appveyor.yml
@ -27,7 +27,14 @@ environment:
|
|||||||
COVERAGE_FILENAME: py37-legacy_wexpect_coverage.xml
|
COVERAGE_FILENAME: py37-legacy_wexpect_coverage.xml
|
||||||
PYTHON: "C:\\Python37"
|
PYTHON: "C:\\Python37"
|
||||||
|
|
||||||
build: off
|
build: on
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
# Create source distribution.
|
||||||
|
- cmd: |
|
||||||
|
"%PYTHON%/python.exe" -m pip install --upgrade pip
|
||||||
|
"%PYTHON%/python.exe" -m pip install --upgrade setuptools wheel
|
||||||
|
"%PYTHON%/python.exe" -m setup sdist
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
|
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
|
||||||
@ -55,9 +62,11 @@ after_test:
|
|||||||
- cmd: "echo username: __token__ >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo username: __token__ >> %USERPROFILE%\\.pypirc"
|
||||||
- cmd: "echo password: %testpypipw% >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo password: %testpypipw% >> %USERPROFILE%\\.pypirc"
|
||||||
|
|
||||||
# Create source distribution.
|
artifacts:
|
||||||
- python -m setup sdist
|
- path: dist\\wexpect*.tar.gz
|
||||||
|
name: wexpect-source-distro
|
||||||
|
|
||||||
|
deploy_script:
|
||||||
# Upload to pypi.
|
# Upload to pypi.
|
||||||
# More precisely. The master and release builds will be uploaded to pypi. Test branch will be
|
# More precisely. The master and release builds will be uploaded to pypi. Test branch will be
|
||||||
# uploaded to test-pypi the test builds.
|
# uploaded to test-pypi the test builds.
|
||||||
|
Loading…
Reference in New Issue
Block a user