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.

86 lines
1.9KB

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