mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
[FIX] appveyor config
This commit is contained in:
parent
0e6fcf1442
commit
6ef2b00d8b
25
appveyor.yml
25
appveyor.yml
@ -14,15 +14,15 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
- TOXENV: py37-default
|
- TOXENV: py37-default
|
||||||
COVERAGE_FILENAME: py37-default_coverage.xml
|
COVERAGE_FILENAME: py37-default_coverage.xml
|
||||||
COVERAGE_FILENAME: py37-legacy_wexpect_coverage.xml
|
|
||||||
PYTHON: "C:\\Python37"
|
PYTHON: "C:\\Python37"
|
||||||
- TOXENV: py37-spawn_pipe
|
- TOXENV: py37-spawn_pipe
|
||||||
COVERAGE_FILENAME: py37-spawn_pipe_coverage.xml
|
COVERAGE_FILENAME: py37-spawn_pipe_coverage.xml
|
||||||
PYTHON: "C:\\Python37"
|
PYTHON: "C:\\Python37"
|
||||||
- TOXENV: installed
|
- TOXENV: installed
|
||||||
PYTHON: "C:\\Python37"
|
PYTHON: "C:\\Python37"
|
||||||
PYTHON: "C:\\Python37"
|
|
||||||
- TOXENV: py37-legacy_wexpect
|
- TOXENV: py37-legacy_wexpect
|
||||||
|
COVERAGE_FILENAME: py37-legacy_wexpect_coverage.xml
|
||||||
|
PYTHON: "C:\\Python37"
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
@ -36,22 +36,21 @@ test_script:
|
|||||||
after_test:
|
after_test:
|
||||||
# Upload code coverage results.
|
# Upload code coverage results.
|
||||||
# https://github.com/codecov/codecov-python/issues/158#issuecomment-514282362
|
# https://github.com/codecov/codecov-python/issues/158#issuecomment-514282362
|
||||||
- IF "%COVERAGE_FILENAME%"!="" (
|
- IF NOT "%COVERAGE_FILENAME%"=="" (
|
||||||
(codecov --no-color -X gcov --file %COVERAGE_FILENAME% --required ) || (sleep 30 && codecov --no-color -X gcov --file %COVERAGE_FILENAME% --required )
|
(codecov --no-color -X gcov --file %COVERAGE_FILENAME% --required ) || (sleep 30 && codecov --no-color -X gcov --file %COVERAGE_FILENAME% --required )
|
||||||
)
|
)
|
||||||
|
|
||||||
# fill .pypirc file.
|
# fill .pypirc file.
|
||||||
# pypi
|
# pypi
|
||||||
- |-
|
- cmd: "echo [pypi] > %USERPROFILE%\\.pypirc"
|
||||||
"echo [pypi] > %USERPROFILE%\\.pypirc"
|
- cmd: "echo repository: https://upload.pypi.org/legacy/ >> %USERPROFILE%\\.pypirc"
|
||||||
"echo repository: https://upload.pypi.org/legacy/ >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo username: __token__ >> %USERPROFILE%\\.pypirc"
|
||||||
"echo username: __token__ >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo password: %pypipw% >> %USERPROFILE%\\.pypirc"
|
||||||
"echo password: %pypipw% >> %USERPROFILE%\\.pypirc"
|
|
||||||
# testpypi
|
# testpypi
|
||||||
- |-
|
- cmd: "echo [testpypi] >> %USERPROFILE%\\.pypirc"
|
||||||
"echo [testpypi] >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo repository: https://test.pypi.org/legacy/ >> %USERPROFILE%\\.pypirc"
|
||||||
"echo repository: https://test.pypi.org/legacy/ >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo username: __token__ >> %USERPROFILE%\\.pypirc"
|
||||||
"echo username: __token__ >> %USERPROFILE%\\.pypirc"
|
- cmd: "echo password: %testpypipw% >> %USERPROFILE%\\.pypirc"
|
||||||
"echo password: %testpypipw% >> %USERPROFILE%\\.pypirc"
|
|
||||||
|
|
||||||
# Create source distribution.
|
# Create source distribution.
|
||||||
- python -m setup sdist
|
- python -m setup sdist
|
||||||
|
Loading…
Reference in New Issue
Block a user