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.
 
 
 
 

80 lines
1.8 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. - 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:\\Python36"
  22. PYTHON_VERSION: "3.6"
  23. PYTHON_ARCH: "32"
  24. - PYTHON: "C:\\Python36-x64"
  25. PYTHON_VERSION: "3.6"
  26. PYTHON_ARCH: "64"
  27. - PYTHON: "C:\\Python37"
  28. PYTHON_VERSION: "3.7"
  29. PYTHON_ARCH: "32"
  30. - PYTHON: "C:\\Python37-x64"
  31. PYTHON_VERSION: "3.7"
  32. PYTHON_ARCH: "64"
  33. - PYTHON: "C:\\Python38"
  34. PYTHON_VERSION: "3.8"
  35. PYTHON_ARCH: "32"
  36. - PYTHON: "C:\\Python38-x64"
  37. PYTHON_VERSION: "3.8"
  38. PYTHON_ARCH: "64"
  39. - PYTHON: "C:\\Python39"
  40. PYTHON_VERSION: "3.9"
  41. PYTHON_ARCH: "32"
  42. - PYTHON: "C:\\Python39-x64"
  43. PYTHON_VERSION: "3.9"
  44. PYTHON_ARCH: "64"
  45. install:
  46. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  47. - "%PIP% install wheel twine pytest"
  48. build_script:
  49. - "%SETUPPY% build"
  50. - "%SETUPPY% develop --user"
  51. test_script:
  52. - "%PYEXE% -m pytest"
  53. after_test:
  54. - "%SETUPPY% bdist_wheel"
  55. on_success:
  56. - "IF %APPVEYOR_REPO_BRANCH%==master %TWINE% upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%"
  57. artifacts:
  58. - path: dist\*
  59. deploy: off