appveyor.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 .\\continuous-integration\\appveyor\\run_with_env.cmd"
  7. matrix:
  8. # PYTHON 2.6
  9. - PYTHON: "C:\\Python26_32"
  10. PYTHON_VERSION: "2.6"
  11. PYTHON_ARCH: "32"
  12. CONDA_PY: "26"
  13. CONDA_NPY: "111"
  14. # - PYTHON: "C:\\Python26_64"
  15. # PYTHON_VERSION: "2.6"
  16. # PYTHON_ARCH: "64"
  17. # CONDA_PY: "26"
  18. # CONDA_NPY: "111"
  19. # PYTHON 2.7
  20. - PYTHON: "C:\\Python27_32"
  21. PYTHON_VERSION: "2.7"
  22. PYTHON_ARCH: "32"
  23. CONDA_PY: "27"
  24. CONDA_NPY: "111"
  25. # - PYTHON: "C:\\Python27_64"
  26. # PYTHON_VERSION: "2.7"
  27. # PYTHON_ARCH: "64"
  28. # CONDA_PY: "27"
  29. # CONDA_NPY: "111"
  30. # PYTHON 3.4
  31. - PYTHON: "C:\\Python34_32"
  32. PYTHON_VERSION: "3.4"
  33. PYTHON_ARCH: "32"
  34. CONDA_PY: "34"
  35. CONDA_NPY: "111"
  36. # This does not work and I am still wondering why? why? why?
  37. #- PYTHON: "C:\\Python34_64"
  38. # PYTHON_VERSION: "3.4"
  39. # PYTHON_ARCH: "64"
  40. # DISTUTILS_USE_SDK: "1"
  41. # CONDA_PY: "34"
  42. # CONDA_NPY: "19"
  43. # PYTHON 3.5
  44. - PYTHON: "C:\\Python35_32"
  45. PYTHON_VERSION: "3.5"
  46. PYTHON_ARCH: "32"
  47. CONDA_PY: "35"
  48. CONDA_NPY: "111"
  49. - PYTHON: "C:\\Python35_64"
  50. PYTHON_VERSION: "3.5"
  51. PYTHON_ARCH: "64"
  52. CONDA_PY: "35"
  53. CONDA_NPY: "111"
  54. install:
  55. # this installs the appropriate Miniconda (Py2/Py3, 32/64 bit),
  56. # as well as pip, conda-build, and the binstar CLI
  57. - powershell .\\continuous-integration\\appveyor\\install.ps1
  58. - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
  59. build: false
  60. test_script:
  61. # Build and test the package. This appears(?) to sporadically fail due to a
  62. # bug in conda-build on 32 bit python.
  63. # https://github.com/conda/conda-build/issues/152
  64. #
  65. # Note also that our setup.py script, which is called by conda-build, writes
  66. # a __conda_version__.txt file, so the version number on the binary package
  67. # is set dynamically. This unfortunately mean that conda build --output
  68. # doesn't really work.
  69. #
  70. - "%CMD_IN_ENV% conda install --yes --quiet cython pandas mock"
  71. # Build the compiled extension and run the project tests
  72. - "%CMD_IN_ENV% python setup.py build_ext --inplace"
  73. - "%CMD_IN_ENV% python -c \"import bcolz; bcolz.test(heavy=True)\""