<commit_before>environment:
  global:
    # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
    # /E:ON and /V:ON options are not enabled in the batch script intepreter
    # See: http://stackoverflow.com/a/13751649/163740
    CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
    
    PYPI_PASS:
      secure: <KEY>

  # Note that we use miniconda, so the minor versions are irrelevant here
  matrix:
    - PYTHON: "C:\\Python27_32"
      PYTHON_VERSION: "2.7.8"
      PYTHON_ARCH: "32"

    - PYTHON: "C:\\Python27_64"
      PYTHON_VERSION: "2.7.8"
      PYTHON_ARCH: "64"

    - PYTHON: "C:\\Python33_32"
      PYTHON_VERSION: "3.3.5"
      PYTHON_ARCH: "32"

    - PYTHON: "C:\\Python33_64"
      PYTHON_VERSION: "3.3.5"
      PYTHON_ARCH: "64"

    - PYTHON: "C:\\Python34_32"
      PYTHON_VERSION: "3.4.1"
      PYTHON_ARCH: "32"

    - PYTHON: "C:\\Python34_64"
      PYTHON_VERSION: "3.4.1"
      PYTHON_ARCH: "64"

install:
  - ECHO "Powershell version:"
  - ps: "$PSVersionTable.PSVersion.Major"

  - ECHO "Filesystem root:"
  - ps: "ls \"C:/\""

  - ECHO "Installed SDKs:"
  - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""

  # Install Python and pip
  - "powershell ./appveyor/install.ps1"

  # Prepend newly installed Python to the PATH of this build (this cannot be
  # done from inside the powershell script as it would require to restart
  # the parent CMD process).
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

  # Check that we have the expected version and architecture for Python
  - "python --version"
  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""

  # we use conda to prevent compiling extensions
  - "conda install --yes numpy cython scipy scikit-image"
  - "pip install -r dev-requirements.txt"
  
  # Install the build dependencies of the project. If some dependencies contain
  # compiled extensions and are not provided as pre-built wheel packages,
  # pip will build them from source using the MSVC compiler matching the
  # target Python version and architecture
  #- "%CMD_IN_ENV% pip install -r dev-requirements.txt"
  
  # Build the compiled extension and install wheel.
  # -u disables output buffering which caused intermixing of lines
  #  when the external tools were started  
  - "%CMD_IN_ENV% python -u setup.py bdist_wheel"
  - ps: "ls dist/*.whl | % { pip install $_ }"

build: false  # Not a C# project, build stuff at the install step instead.

test_script:
  - mkdir tmp_for_test
  - cd tmp_for_test
  - nosetests --verbosity=3 --nocapture ../test
  - cd ..

# artifacts are big, and we don't really need to store them
#artifacts:
  # Archive the generated wheel package in the ci.appveyor.com build report.
#  - path: dist\*

deploy_script:
  - "powershell ./appveyor/pypi_deploy.ps1"<commit_msg>fix appveyor build, use scikit-image 0.10.1<commit_after>environment:
  global:
    # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
    # /E:ON and /V:ON options are not enabled in the batch script intepreter
    # See: http://stackoverflow.com/a/13751649/163740
    CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
    
    PYPI_PASS:
      secure: <PASSWORD> <KEY>

  # Note that we use miniconda, so the minor versions are irrelevant here
  matrix:
    - PYTHON: "C:\\Python27_32"
      PYTHON_VERSION: "2.7.8"
      PYTHON_ARCH: "32"

    - PYTHON: "C:\\Python27_64"
      PYTHON_VERSION: "2.7.8"
      PYTHON_ARCH: "64"

    - PYTHON: "C:\\Python33_32"
      PYTHON_VERSION: "3.3.5"
      PYTHON_ARCH: "32"

    - PYTHON: "C:\\Python33_64"
      PYTHON_VERSION: "3.3.5"
      PYTHON_ARCH: "64"

    - PYTHON: "C:\\Python34_32"
      PYTHON_VERSION: "3.4.1"
      PYTHON_ARCH: "32"

    - PYTHON: "C:\\Python34_64"
      PYTHON_VERSION: "3.4.1"
      PYTHON_ARCH: "64"

install:
  - ECHO "Powershell version:"
  - ps: "$PSVersionTable.PSVersion.Major"

  - ECHO "Filesystem root:"
  - ps: "ls \"C:/\""

  - ECHO "Installed SDKs:"
  - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""

  # Install Python and pip
  - "powershell ./appveyor/install.ps1"

  # Prepend newly installed Python to the PATH of this build (this cannot be
  # done from inside the powershell script as it would require to restart
  # the parent CMD process).
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

  # Check that we have the expected version and architecture for Python
  - "python --version"
  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""

  # we use conda to prevent compiling extensions
  - "conda install --yes numpy cython scipy scikit-image==0.10.1"
  - "pip install -r dev-requirements.txt"
  
  # Install the build dependencies of the project. If some dependencies contain
  # compiled extensions and are not provided as pre-built wheel packages,
  # pip will build them from source using the MSVC compiler matching the
  # target Python version and architecture
  #- "%CMD_IN_ENV% pip install -r dev-requirements.txt"
  
  # Build the compiled extension and install wheel.
  # -u disables output buffering which caused intermixing of lines
  #  when the external tools were started  
  - "%CMD_IN_ENV% python -u setup.py bdist_wheel"
  - ps: "ls dist/*.whl | % { pip install $_ }"

build: false  # Not a C# project, build stuff at the install step instead.

test_script:
  - mkdir tmp_for_test
  - cd tmp_for_test
  - nosetests --verbosity=3 --nocapture ../test
  - cd ..

# artifacts are big, and we don't really need to store them
#artifacts:
  # Archive the generated wheel package in the ci.appveyor.com build report.
#  - path: dist\*

deploy_script:
  - "powershell ./appveyor/pypi_deploy.ps1"
{'fraction_non_alphanumeric': 0.1156498673740053, 'fraction_numerical': 0.029000884173297967, 'mean_word_length': 2.9223300970873787, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3975298', 'n_tokens_mistral': 2158, 'n_tokens_neox': 1984, 'n_words': 615}