appveyor.yml
36 lines
| 894 B
| text/x-yaml
|
YamlLexer
|
r23123 | build: false | ||
|
r23206 | matrix: | ||
fast_finish: true # immediately finish build once one of the jobs fails. | ||||
|
r23123 | |||
environment: | ||||
matrix: | ||||
|
r25220 | - PYTHON: "C:\\Python37-x64" | ||
PYTHON_VERSION: "3.7.x" | ||||
PYTHON_ARCH: "64" | ||||
- PYTHON: "C:\\Python38" | ||||
PYTHON_VERSION: "3.8.x" | ||||
PYTHON_ARCH: "32" | ||||
- PYTHON: "C:\\Python38-x64" | ||||
PYTHON_VERSION: "3.8.x" | ||||
PYTHON_ARCH: "64" | ||||
|
r23123 | init: | ||
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" | ||||
install: | ||||
|
r23124 | - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
|
r26968 | - python -m pip install --upgrade setuptools pip | ||
|
r26989 | - pip install nose coverage pytest pytest-cov pytest-trio pywin32 matplotlib pandas | ||
|
r26968 | - pip install .[test] | ||
- mkdir results | ||||
- cd results | ||||
|
r23123 | test_script: | ||
|
r26968 | - iptest --coverage xml | ||
|
r26970 | - cd .. | ||
- pytest -ra --cov --cov-report=xml | ||||
|
r26946 | on_finish: | ||
|
r26969 | - curl -Os https://uploader.codecov.io/latest/windows/codecov.exe | ||
- codecov -e PYTHON_VERSION,PYTHON_ARCH | ||||