• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1environment:
2
3  matrix:
4    - PYTHON: "C:\\Python35-x64"
5    - PYTHON: "C:\\Python36-x64"
6    - PYTHON: "C:\\Python37-x64"
7    - PYTHON: "C:\\Python38-x64"
8
9install:
10  - "%PYTHON%\\python.exe -m pip install -r requirements.txt"
11  - "%PYTHON%\\python.exe -m pip install -r extra_requirements.txt"
12  - "%PYTHON%\\python.exe -m pip install ."
13
14build: off
15
16test_script:
17  - SET TEST_REAL_FS=1
18  - "%PYTHON%\\python.exe -m pyfakefs.tests.all_tests"
19  - "%PYTHON%\\python.exe -m pyfakefs.tests.all_tests_without_extra_packages"
20  - "%PYTHON%\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_plugin_test.py"
21  - ps: If ($env:PYTHON -Match ".*3[678]-x64") { "$env:PYTHON\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_fixture_test.py" }
22  - ps: If ($env:PYTHON -Match ".*3[678]-x64") { "$env:PYTHON\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_fixture_param_test.py" }
23  - "%PYTHON%\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_plugin_failing_test.py > testresult.txt | echo."
24  - "%PYTHON%\\python.exe -m pytest pyfakefs\\pytest_tests\\pytest_check_failed_plugin_test.py"
25