You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
4 months ago
|
environment:
|
||
|
|
||
|
matrix:
|
||
|
- PYTHON: "C:\\Python35-x64"
|
||
|
- PYTHON: "C:\\Python36-x64"
|
||
|
- PYTHON: "C:\\Python37-x64"
|
||
|
- PYTHON: "C:\\Python38-x64"
|
||
|
|
||
|
install:
|
||
|
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
|
||
|
- "%PYTHON%\\python.exe -m pip install -r extra_requirements.txt"
|
||
|
- "%PYTHON%\\python.exe -m pip install ."
|
||
|
|
||
|
build: off
|
||
|
|
||
|
test_script:
|
||
|
- SET TEST_REAL_FS=1
|
||
|
- "%PYTHON%\\python.exe -m pyfakefs.tests.all_tests"
|
||
|
- "%PYTHON%\\python.exe -m pyfakefs.tests.all_tests_without_extra_packages"
|
||
|
- "%PYTHON%\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_plugin_test.py"
|
||
|
- ps: If ($env:PYTHON -Match ".*3[678]-x64") { "$env:PYTHON\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_fixture_test.py" }
|
||
|
- ps: If ($env:PYTHON -Match ".*3[678]-x64") { "$env:PYTHON\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_fixture_param_test.py" }
|
||
|
- "%PYTHON%\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_plugin_failing_test.py > testresult.txt | echo."
|
||
|
- "%PYTHON%\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_check_failed_plugin_test.py"
|