<commit_before>environment:

  global:
    # PYTHON: "C:\\conda"
    # MINICONDA_VERSION: "3.5.5"
    WITH_COMPILER: "cmd /E:ON /V:ON /C .\\.ci\\appveyor\\run_with_env.cmd"
    # NUMPY_VERSION: "1.9.1"
    PYPI_PASS:
      secure: <KEY>
    ANACONDA_TOKEN:
      secure: <KEY>

  matrix:
    # - PYTHON: "C:\\Miniconda"
    #   DISTUTILS_USE_SDK: "1"
    #   PYTHON_VERSION: "2.6"
    # - PYTHON: "C:\\Miniconda"
    #   DISTUTILS_USE_SDK: "1"
    #   PYTHON_VERSION: "2.7"
    # - PYTHON: "C:\\Miniconda3"
    #   DISTUTILS_USE_SDK: "1"
    #   PYTHON_VERSION: "3.4"
    # - PYTHON: "C:\\Miniconda3"
    # - PYTHON: "C:\\Python35_64"
    - PYTHON: "C:\\Python35"
      PYTHON_VERSION: "3.5"
      BUILD_STR: "dev"
    #   PYTHON_ARCH: "64"
    #   NUMPY_VERSION: "1.10.4"

platform:
  - x64
  - x86

init:
  - "ECHO %PYTHON% %PYTHON_VERSION% %HOME% %PLATFORM%"
  - "ECHO %APPVEYOR_REPO_BRANCH%"

install:
  - powershell .ci/appveyor/install.ps1
  - IF "%PLATFORM%"=="x64" (SET SUFFIX="_64") ELSE (SET SUFFIX="_32")
  # - set PATH=%HOME%/miniconda;%HOME%/miniconda/Scripts;%HOME%/miniconda/Library/bin;%PATH%
  - "set PATH=%PYTHON%%SUFFIX%;%PYTHON%%SUFFIX%/Scripts;%PYTHON%%SUFFIX%/Library/bin;%PATH%"
  - conda info
  - conda config --set always_yes yes
  - conda install -q --force --no-deps conda psutil ruamel_yaml requests
  - conda install -q python=%PYTHON_VERSION%
  - conda install -q conda-build
  - conda install -q anaconda-client
  - "%WITH_COMPILER% conda build -q .conda-recipe"
  - "%WITH_COMPILER% conda install -q landlab --use-local"
  - "conda list"
build: false

test_script:
  # - "%WITH_COMPILER% python setup.py install"
  - "%WITH_COMPILER% python scripts/test-installed-landlab.py"

after_test:
  - "%WITH_COMPILER% python setup.py bdist_wheel"<commit_msg>Changed to set BUILD_STR on a release.<commit_after>environment:

  global:
    # PYTHON: "C:\\conda"
    # MINICONDA_VERSION: "3.5.5"
    WITH_COMPILER: "cmd /E:ON /V:ON /C .\\.ci\\appveyor\\run_with_env.cmd"
    # NUMPY_VERSION: "1.9.1"
    PYPI_PASS:
      secure: <KEY>
    ANACONDA_TOKEN:
      secure: <KEY>

  matrix:
    # - PYTHON: "C:\\Miniconda"
    #   DISTUTILS_USE_SDK: "1"
    #   PYTHON_VERSION: "2.6"
    # - PYTHON: "C:\\Miniconda"
    #   DISTUTILS_USE_SDK: "1"
    #   PYTHON_VERSION: "2.7"
    # - PYTHON: "C:\\Miniconda3"
    #   DISTUTILS_USE_SDK: "1"
    #   PYTHON_VERSION: "3.4"
    # - PYTHON: "C:\\Miniconda3"
    # - PYTHON: "C:\\Python35_64"
    - PYTHON: "C:\\Python35"
      PYTHON_VERSION: "3.5"
      BUILD_STR: "dev"
    #   PYTHON_ARCH: "64"
    #   NUMPY_VERSION: "1.10.4"

platform:
  - x64
  - x86

init:
  - "ECHO %PYTHON% %PYTHON_VERSION% %HOME% %PLATFORM%"
  - "ECHO %APPVEYOR_REPO_BRANCH%"

install:
  - powershell .ci/appveyor/install.ps1
  - if "%APPVEYOR_REPO_TAG%"=="true" if "%APPVEYOR_REPO_TAG_NAME:~0,1%"=="v" set BUILD_STR=""
  - IF "%PLATFORM%"=="x64" (SET SUFFIX="_64") ELSE (SET SUFFIX="_32")
  - "set PATH=%PYTHON%%SUFFIX%;%PYTHON%%SUFFIX%/Scripts;%PYTHON%%SUFFIX%/Library/bin;%PATH%"
  - conda info
  - conda config --set always_yes yes
  - conda install -q --force --no-deps conda psutil ruamel_yaml requests
  - conda install -q python=%PYTHON_VERSION%
  - conda install -q conda-build
  - conda install -q anaconda-client
  - "%WITH_COMPILER% conda build -q .conda-recipe"
  - "%WITH_COMPILER% conda install -q landlab --use-local"
  - "conda list"
build: false

test_script:
  # - "%WITH_COMPILER% python setup.py install"
  - "%WITH_COMPILER% python scripts/test-installed-landlab.py"

after_test:
  - "%WITH_COMPILER% python setup.py bdist_wheel"
{'fraction_non_alphanumeric': 0.16657381615598885, 'fraction_numerical': 0.02395543175487465, 'mean_word_length': 2.9767441860465116, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '169029', 'n_tokens_mistral': 1677, 'n_tokens_neox': 1599, 'n_words': 277}