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

78 行
1.7 KiB

  1. # This config file is used by appveyor.com to build Windows release binaries
  2. version: 0.6.dev0-b{build}
  3. branches:
  4. only:
  5. - master
  6. - develop
  7. skip_tags: true
  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_USERNAME: "earwigbot"
  17. PYPI_PASSWORD:
  18. secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+
  19. matrix:
  20. - PYTHON: "C:\\Python35"
  21. PYTHON_VERSION: "3.5"
  22. PYTHON_ARCH: "32"
  23. - PYTHON: "C:\\Python35-x64"
  24. PYTHON_VERSION: "3.5"
  25. PYTHON_ARCH: "64"
  26. - PYTHON: "C:\\Python36"
  27. PYTHON_VERSION: "3.6"
  28. PYTHON_ARCH: "32"
  29. - PYTHON: "C:\\Python36-x64"
  30. PYTHON_VERSION: "3.6"
  31. PYTHON_ARCH: "64"
  32. - PYTHON: "C:\\Python37"
  33. PYTHON_VERSION: "3.7"
  34. PYTHON_ARCH: "32"
  35. - PYTHON: "C:\\Python37-x64"
  36. PYTHON_VERSION: "3.7"
  37. PYTHON_ARCH: "64"
  38. - PYTHON: "C:\\Python38"
  39. PYTHON_VERSION: "3.8"
  40. PYTHON_ARCH: "32"
  41. - PYTHON: "C:\\Python38-x64"
  42. PYTHON_VERSION: "3.8"
  43. PYTHON_ARCH: "64"
  44. install:
  45. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  46. - "%PIP% install wheel twine"
  47. build_script:
  48. - "%SETUPPY% build"
  49. - "%SETUPPY% develop --user"
  50. test_script:
  51. - "%PYEXE% -m unittest discover"
  52. after_test:
  53. - "%SETUPPY% bdist_wheel"
  54. on_success:
  55. - "IF %APPVEYOR_REPO_BRANCH%==master %TWINE% upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%"
  56. artifacts:
  57. - path: dist\*
  58. deploy: off