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.
 
 
 
 

88 lines
2.0 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. image: Visual Studio 2019
  9. environment:
  10. global:
  11. # See: http://stackoverflow.com/a/13751649/163740
  12. WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd"
  13. PYEXE: "%WRAPPER% %PYTHON%\\python.exe"
  14. SETUPPY: "%PYEXE% setup.py --with-extension"
  15. PIP: "%PYEXE% -m pip"
  16. TWINE: "%PYEXE% -m twine"
  17. PYPI_USERNAME: "earwigbot"
  18. PYPI_PASSWORD:
  19. secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+
  20. matrix:
  21. - PYTHON: "C:\\Python35"
  22. PYTHON_VERSION: "3.5"
  23. PYTHON_ARCH: "32"
  24. - PYTHON: "C:\\Python35-x64"
  25. PYTHON_VERSION: "3.5"
  26. PYTHON_ARCH: "64"
  27. - PYTHON: "C:\\Python36"
  28. PYTHON_VERSION: "3.6"
  29. PYTHON_ARCH: "32"
  30. - PYTHON: "C:\\Python36-x64"
  31. PYTHON_VERSION: "3.6"
  32. PYTHON_ARCH: "64"
  33. - PYTHON: "C:\\Python37"
  34. PYTHON_VERSION: "3.7"
  35. PYTHON_ARCH: "32"
  36. - PYTHON: "C:\\Python37-x64"
  37. PYTHON_VERSION: "3.7"
  38. PYTHON_ARCH: "64"
  39. - PYTHON: "C:\\Python38"
  40. PYTHON_VERSION: "3.8"
  41. PYTHON_ARCH: "32"
  42. - PYTHON: "C:\\Python38-x64"
  43. PYTHON_VERSION: "3.8"
  44. PYTHON_ARCH: "64"
  45. - PYTHON: "C:\\Python39"
  46. PYTHON_VERSION: "3.9"
  47. PYTHON_ARCH: "32"
  48. - PYTHON: "C:\\Python39-x64"
  49. PYTHON_VERSION: "3.9"
  50. PYTHON_ARCH: "64"
  51. install:
  52. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  53. - "%PIP% install wheel twine"
  54. build_script:
  55. - "%SETUPPY% build"
  56. - "%SETUPPY% develop --user"
  57. test_script:
  58. - "%PYEXE% -m unittest discover"
  59. after_test:
  60. - "%SETUPPY% bdist_wheel"
  61. on_success:
  62. - "IF %APPVEYOR_REPO_BRANCH%==master %TWINE% upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%"
  63. artifacts:
  64. - path: dist\*
  65. deploy: off