A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
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.
 
 
 
 

85 lines
2.1 KiB

  1. # This config file is used by appveyor.com to build Windows release binaries
  2. version: 0.6.5-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:\\Python37"
  20. PYTHON_VERSION: "3.7"
  21. PYTHON_ARCH: "32"
  22. - PYTHON: "C:\\Python37-x64"
  23. PYTHON_VERSION: "3.7"
  24. PYTHON_ARCH: "64"
  25. - PYTHON: "C:\\Python38"
  26. PYTHON_VERSION: "3.8"
  27. PYTHON_ARCH: "32"
  28. - PYTHON: "C:\\Python38-x64"
  29. PYTHON_VERSION: "3.8"
  30. PYTHON_ARCH: "64"
  31. - PYTHON: "C:\\Python39"
  32. PYTHON_VERSION: "3.9"
  33. PYTHON_ARCH: "32"
  34. - PYTHON: "C:\\Python39-x64"
  35. PYTHON_VERSION: "3.9"
  36. PYTHON_ARCH: "64"
  37. - PYTHON: "C:\\Python310"
  38. PYTHON_VERSION: "3.10"
  39. PYTHON_ARCH: "32"
  40. - PYTHON: "C:\\Python310-x64"
  41. PYTHON_VERSION: "3.10"
  42. PYTHON_ARCH: "64"
  43. - PYTHON: "C:\\Python311"
  44. PYTHON_VERSION: "3.11"
  45. PYTHON_ARCH: "32"
  46. - PYTHON: "C:\\Python311-x64"
  47. PYTHON_VERSION: "3.11"
  48. PYTHON_ARCH: "64"
  49. install:
  50. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  51. - "%PIP% install wheel twine pytest"
  52. build_script:
  53. - "%SETUPPY% build"
  54. - "%SETUPPY% develop --user"
  55. test_script:
  56. - "%PYEXE% -m pytest"
  57. after_test:
  58. - "%SETUPPY% bdist_wheel"
  59. on_success:
  60. - "IF %APPVEYOR_REPO_TAG%==true %TWINE% upload dist\\* -u __token__ -p %PYPI_TOKEN%"
  61. artifacts:
  62. - path: dist\*
  63. deploy: off