appveyor.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. version: 0.4.15.{build}
  2. environment:
  3. global:
  4. # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
  5. # /E:ON and /V:ON options are not enabled in the batch script intepreter
  6. # See: http://stackoverflow.com/a/13751649/163740
  7. CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
  8. matrix:
  9. # http://www.appveyor.com/docs/installed-software#python
  10. - PYTHON_ROOT: "C:\\Python27"
  11. PYTHON_ARCH: "32"
  12. PYTHON_VERSION: "2.7.x"
  13. - PYTHON_ROOT: "C:\\Python27-x64"
  14. PYTHON_ARCH: "64"
  15. PYTHON_VERSION: "2.7.x"
  16. - PYTHON_ROOT: "C:\\Python33"
  17. PYTHON_ARCH: "32"
  18. PYTHON_VERSION: "3.3.x"
  19. - PYTHON_ROOT: "C:\\Python33-x64"
  20. PYTHON_ARCH: "64"
  21. PYTHON_VERSION: "3.3.x"
  22. - PYTHON_ROOT: "C:\\Python34"
  23. PYTHON_ARCH: "32"
  24. PYTHON_VERSION: "3.4.x"
  25. - PYTHON_ROOT: "C:\\Python34-x64"
  26. PYTHON_ARCH: "64"
  27. PYTHON_VERSION: "3.4.x"
  28. - PYTHON_ROOT: "C:\\Python35"
  29. PYTHON_ARCH: "32"
  30. PYTHON_VERSION: "3.5.x"
  31. - PYTHON_ROOT: "C:\\Python35-x64"
  32. PYTHON_ARCH: "64"
  33. PYTHON_VERSION: "3.5.x"
  34. - PYTHON_ROOT: "C:\\Python36"
  35. PYTHON_ARCH: "32"
  36. PYTHON_VERSION: "3.6.x"
  37. - PYTHON_ROOT: "C:\\Python36-x64"
  38. PYTHON_ARCH: "64"
  39. PYTHON_VERSION: "3.6.x"
  40. - PYTHON_ROOT: "C:\\Python37"
  41. PYTHON_ARCH: "32"
  42. PYTHON_VERSION: "3.7.x"
  43. - PYTHON_ROOT: "C:\\Python37-x64"
  44. PYTHON_ARCH: "64"
  45. PYTHON_VERSION: "3.7.x"
  46. install:
  47. - "SET PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\\Scripts;%PATH%"
  48. - "python --version"
  49. - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
  50. # Upgrade pip to the latest version
  51. #- "python appveyor\\run_pip.py install --disable-pip-version-check --upgrade pip"
  52. # Install requirements for running tests and building artifacts
  53. - "%CMD_IN_ENV% pip install --upgrade -r dev-requirements.txt"
  54. build_script:
  55. - "%CMD_IN_ENV% python setup.py build"
  56. test_script:
  57. - "%CMD_IN_ENV% python setup.py test"
  58. after_test:
  59. - "%CMD_IN_ENV% python setup.py bdist_wheel"
  60. - "%CMD_IN_ENV% python setup.py bdist_egg"
  61. artifacts:
  62. - path: dist\*