appveyor.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. version: '{branch}-{build}'
  2. build: off
  3. cache:
  4. - '%LOCALAPPDATA%\\pip\\Cache'
  5. environment:
  6. global:
  7. # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
  8. # /E:ON and /V:ON options are not enabled in the batch script intepreter
  9. # See: http://stackoverflow.com/a/13751649/163740
  10. CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\continuous-integration\\appveyor\\run_with_env.cmd"
  11. matrix:
  12. # PYTHON 2.7
  13. - PYTHON: "C:\\Miniconda27"
  14. PYTHON_VERSION: "2.7"
  15. PYTHON_ARCH: "32"
  16. CONDA_PY: "27"
  17. CONDA_NPY: "111"
  18. - PYTHON: "C:\\Miniconda27-x64"
  19. PYTHON_VERSION: "2.7"
  20. PYTHON_ARCH: "64"
  21. CONDA_PY: "27"
  22. CONDA_NPY: "111"
  23. # PYTHON 3.5
  24. - PYTHON: "C:\\Miniconda35"
  25. PYTHON_VERSION: "3.5"
  26. PYTHON_ARCH: "32"
  27. CONDA_PY: "35"
  28. CONDA_NPY: "142"
  29. # - PYTHON: "C:\\Miniconda35-x64"
  30. # PYTHON_VERSION: "3.5"
  31. # PYTHON_ARCH: "64"
  32. # CONDA_PY: "35"
  33. # CONDA_NPY: "142"
  34. # PYTHON 3.6
  35. - PYTHON: "C:\\Miniconda36"
  36. PYTHON_VERSION: "3.6"
  37. PYTHON_ARCH: "32"
  38. CONDA_PY: "36"
  39. CONDA_NPY: "142"
  40. - PYTHON: "C:\\Miniconda36-x64"
  41. PYTHON_VERSION: "3.6"
  42. PYTHON_ARCH: "64"
  43. CONDA_PY: "36"
  44. CONDA_NPY: "142"
  45. install:
  46. # this installs the appropriate Miniconda (Py2/Py3, 32/64 bit),
  47. # as well as pip, conda-build, and the binstar CLI
  48. - powershell .\\continuous-integration\\appveyor\\install.ps1
  49. - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
  50. test_script:
  51. # Build and test the package. This appears(?) to sporadically fail due to a
  52. # bug in conda-build on 32 bit python.
  53. # https://github.com/conda/conda-build/issues/152
  54. #
  55. # Note also that our setup.py script, which is called by conda-build, writes
  56. # a __conda_version__.txt file, so the version number on the binary package
  57. # is set dynamically. This unfortunately mean that conda build --output
  58. # doesn't really work.
  59. #
  60. - "%CMD_IN_ENV% conda install --yes --quiet cython pandas mock"
  61. # Build the compiled extension and run the project tests
  62. - "%CMD_IN_ENV% python setup.py build_ext --inplace"
  63. - "%CMD_IN_ENV% python -c \"import bcolz; bcolz.test(heavy=True)\""