A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

77 行
1.9 KiB

  1. # This config file is used by appveyor.com to build Windows release binaries
  2. version: 0.7.dev0-b{build}
  3. branches:
  4. only:
  5. - main
  6. - /v\d+(\.\d+)*/
  7. image: Visual Studio 2022
  8. environment:
  9. global:
  10. # See: http://stackoverflow.com/a/13751649/163740
  11. WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd"
  12. PYEXE: "%WRAPPER% %PYTHON%\\python.exe"
  13. SETUPPY: "%PYEXE% setup.py --with-extension"
  14. PIP: "%PYEXE% -m pip"
  15. TWINE: "%PYEXE% -m twine"
  16. PYPI_TOKEN:
  17. secure: w9ql7j0y9fatBSCgsUn1MDFsDvc0WXY88K8hNBHZzq6uBPxWMd7ZblMZSJv4Nywr6ViudQCn4qM/Emm7R8UgKGnHeSX+B8V41ywKgbszEh9wKtuMWI5htsfjaD3Yib/dz/ynGDKEf3nkE6rP2j9bfVLMUARHmvztL+G2rUrjj2GQTqs0ddJ16OudDo2aA/ClsW1Zexc5GPgkun5+JFneUeVV59/bwORGfSjgEtoMyIQ8mdFs/My4sImC+jXFfSHD6s08anIuNX5KO6SSg5mwcxZq+1PweceHivJ87VvCI7w=
  18. matrix:
  19. - PYTHON: "C:\\Python38"
  20. PYTHON_VERSION: "3.8"
  21. PYTHON_ARCH: "32"
  22. - PYTHON: "C:\\Python38-x64"
  23. PYTHON_VERSION: "3.8"
  24. PYTHON_ARCH: "64"
  25. - PYTHON: "C:\\Python39"
  26. PYTHON_VERSION: "3.9"
  27. PYTHON_ARCH: "32"
  28. - PYTHON: "C:\\Python39-x64"
  29. PYTHON_VERSION: "3.9"
  30. PYTHON_ARCH: "64"
  31. - PYTHON: "C:\\Python310"
  32. PYTHON_VERSION: "3.10"
  33. PYTHON_ARCH: "32"
  34. - PYTHON: "C:\\Python310-x64"
  35. PYTHON_VERSION: "3.10"
  36. PYTHON_ARCH: "64"
  37. - PYTHON: "C:\\Python311"
  38. PYTHON_VERSION: "3.11"
  39. PYTHON_ARCH: "32"
  40. - PYTHON: "C:\\Python311-x64"
  41. PYTHON_VERSION: "3.11"
  42. PYTHON_ARCH: "64"
  43. install:
  44. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  45. - "%PIP% install wheel twine pytest"
  46. build_script:
  47. - "%SETUPPY% build"
  48. - "%SETUPPY% develop --user"
  49. test_script:
  50. - "%PYEXE% -m pytest"
  51. after_test:
  52. - "%SETUPPY% bdist_wheel"
  53. on_success:
  54. - "IF %APPVEYOR_REPO_TAG%==true %TWINE% upload dist\\* -u __token__ -p %PYPI_TOKEN%"
  55. artifacts:
  56. - path: dist\*
  57. deploy: off