appveyor.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: http://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: http://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. build: off
  31. test_script:
  32. - "%WITH_COMPILER% %PYTHON%/python setup.py test"
  33. after_test:
  34. - "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel"
  35. artifacts:
  36. - path: dist\*
  37. #on_success:
  38. # - TODO: upload the content of dist/*.whl to a public wheelhouse