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.

appveyor.yml 1.7 KiB

7 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # This config file is used by appveyor.com to build Windows release binaries
  2. version: 0.4.4-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. install:
  43. - "%PIP% install --disable-pip-version-check --user --upgrade pip"
  44. - "%PIP% install wheel twine"
  45. build_script:
  46. - "%SETUPPY% build"
  47. test_script:
  48. - "%SETUPPY% -q test"
  49. after_test:
  50. - "%SETUPPY% bdist_wheel"
  51. on_success:
  52. - "IF %APPVEYOR_REPO_BRANCH%==master %WRAPPER% %PYTHON%\\python -m twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%"
  53. artifacts:
  54. - path: dist\*
  55. deploy: off