appveyor.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.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:\\Miniconda"
  12. PYTHON_VERSION: "2.7.x"
  13. PYTHON_ARCH: "32"
  14. - PYTHON: "C:\\Miniconda-x64"
  15. PYTHON_VERSION: "2.7.x"
  16. PYTHON_ARCH: "64"
  17. # - PYTHON: "C:\\Miniconda3"
  18. # PYTHON_VERSION: "3.4.x"
  19. # PYTHON_ARCH: "32"
  20. # - PYTHON: "C:\\Miniconda3-x64"
  21. # PYTHON_VERSION: "3.4.x"
  22. # PYTHON_ARCH: "64"
  23. - PYTHON: "C:\\Miniconda35"
  24. PYTHON_VERSION: "3.5.x"
  25. PYTHON_ARCH: "32"
  26. - PYTHON: "C:\\Miniconda35-x64"
  27. PYTHON_VERSION: "3.5.x"
  28. PYTHON_ARCH: "64"
  29. install:
  30. - ECHO "Filesystem root:"
  31. - ps: "ls \"C:/\""
  32. - ECHO "Installed SDKs:"
  33. - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
  34. # Install Python (from the official .msi of http://python.org) and pip when
  35. # not already installed.
  36. - ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
  37. # Prepend newly installed Python to the PATH of this build (this cannot be
  38. # done from inside the powershell script as it would require to restart
  39. # the parent CMD process).
  40. - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
  41. # Check that we have the expected version and architecture for Python
  42. - "python --version"
  43. - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
  44. - "conda install -y -q pyqt=4"
  45. - "conda install -y -q scikit-image"
  46. build_script:
  47. # Build the compiled extension
  48. - "%CMD_IN_ENV% pip install . -vvv"
  49. test_script:
  50. # Run the project tests
  51. - "%CMD_IN_ENV% pip install nose"
  52. - "nosetests -vs tests"