appveyor.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. environment:
  2. global:
  3. # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
  4. # /E:ON and /V:ON options are not enabled in the batch script intepreter
  5. # See: https://stackoverflow.com/a/13751649/163740
  6. WITH_COMPILER: "cmd /E:ON /V:ON /C .\\extra\\appveyor\\run_with_compiler.cmd"
  7. matrix:
  8. # Pre-installed Python versions, which Appveyor may upgrade to
  9. # a later point release.
  10. # See: https://www.appveyor.com/docs/installed-software#python
  11. - PYTHON: "C:\\Python27"
  12. PYTHON_VERSION: "2.7.x"
  13. PYTHON_ARCH: "32"
  14. - PYTHON: "C:\\Python34"
  15. PYTHON_VERSION: "3.4.x"
  16. PYTHON_ARCH: "32"
  17. - PYTHON: "C:\\Python27-x64"
  18. PYTHON_VERSION: "2.7.x"
  19. PYTHON_ARCH: "64"
  20. WINDOWS_SDK_VERSION: "v7.0"
  21. - PYTHON: "C:\\Python34-x64"
  22. PYTHON_VERSION: "3.4.x"
  23. PYTHON_ARCH: "64"
  24. WINDOWS_SDK_VERSION: "v7.1"
  25. init:
  26. - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
  27. install:
  28. - "powershell extra\\appveyor\\install.ps1"
  29. - "%PYTHON%/Scripts/pip.exe install -U setuptools"
  30. - "%PYTHON%/Scripts/pip.exe install -U eventlet"
  31. build: off
  32. test_script:
  33. - "%WITH_COMPILER% %PYTHON%/python setup.py test"
  34. after_test:
  35. - "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel"
  36. artifacts:
  37. - path: dist\*
  38. #on_success:
  39. # - TODO: upload the content of dist/*.whl to a public wheelhouse