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.
 
 
 
 

83 lines
1.9 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. PIP: "%WRAPPER% %PYTHON%\\Scripts\\pip.exe"
  13. SETUPPY: "%WRAPPER% %PYTHON%\\python setup.py --with-extension"
  14. PYPI_USERNAME: "earwigbot"
  15. PYPI_PASSWORD:
  16. secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+
  17. matrix:
  18. - PYTHON: "C:\\Python27"
  19. PYTHON_VERSION: "2.7"
  20. PYTHON_ARCH: "32"
  21. - PYTHON: "C:\\Python27-x64"
  22. PYTHON_VERSION: "2.7"
  23. PYTHON_ARCH: "64"
  24. - PYTHON: "C:\\Python33"
  25. PYTHON_VERSION: "3.3"
  26. PYTHON_ARCH: "32"
  27. - PYTHON: "C:\\Python33-x64"
  28. PYTHON_VERSION: "3.3"
  29. PYTHON_ARCH: "64"
  30. - PYTHON: "C:\\Python34"
  31. PYTHON_VERSION: "3.4"
  32. PYTHON_ARCH: "32"
  33. - PYTHON: "C:\\Python34-x64"
  34. PYTHON_VERSION: "3.4"
  35. PYTHON_ARCH: "64"
  36. - PYTHON: "C:\\Python35"
  37. PYTHON_VERSION: "3.5"
  38. PYTHON_ARCH: "32"
  39. - PYTHON: "C:\\Python35-x64"
  40. PYTHON_VERSION: "3.5"
  41. PYTHON_ARCH: "64"
  42. - PYTHON: "C:\\Python36"
  43. PYTHON_VERSION: "3.6"
  44. PYTHON_ARCH: "32"
  45. - PYTHON: "C:\\Python36-x64"
  46. PYTHON_VERSION: "3.6"
  47. PYTHON_ARCH: "64"
  48. install:
  49. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  50. - "%PIP% install wheel twine"
  51. build_script:
  52. - "%SETUPPY% build"
  53. test_script:
  54. - "%SETUPPY% -q test"
  55. after_test:
  56. - "%SETUPPY% bdist_wheel"
  57. on_success:
  58. - "IF %APPVEYOR_REPO_BRANCH%==master %WRAPPER% %PYTHON%\\python -m twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%"
  59. artifacts:
  60. - path: dist\*
  61. deploy: off