<commit_before>version: '0.7.0.dev1.{build}'

environment:
  global:
    # Example can be found here https://github.com/quantopian/zipline/blob/master/appveyor.yml
    ANACONDA_TOKEN:
      secure: "<KEY>"
    PYTHON_LOC: "C:\\Miniconda35-x64"
    INSTALLER_VERSION: "0.7.0.dev1"

install:
  - cmd: call %PYTHON_LOC%\Scripts\activate.bat
  - cmd: conda config --set always_yes yes --set changeps1 no
  - cmd: conda install -y conda-build constructor anaconda-client

build_script:
  - cmd: conda build -c conda-forge -c defaults recipes\cate
  - cmd: conda build -c conda-forge -c defaults recipes\cate-cli
  - cmd: conda build -c conda-forge -c defaults recipes\cate-lib
  - cmd: conda build -c conda-forge -c defaults recipes\cate-util
  #- cmd: constructor installer

deploy_script:
  - cmd: anaconda -v -t %ANACONDA_TOKEN% upload "%PYTHON_LOC%\conda-bld\win-64\cate*.tar.bz2" -u ccitools --force
  # upload the installer<commit_msg>add secret for user ccitools<commit_after>version: '0.7.0.dev1.{build}'

environment:
  global:
    # Example can be found here https://github.com/quantopian/zipline/blob/master/appveyor.yml
    ANACONDA_TOKEN:
      secure: "<KEY>"
    PYTHON_LOC: "C:\\Miniconda35-x64"
    INSTALLER_VERSION: "0.7.0.dev1"

install:
  - cmd: call %PYTHON_LOC%\Scripts\activate.bat
  - cmd: conda config --set always_yes yes --set changeps1 no
  - cmd: conda install -y conda-build constructor anaconda-client

build_script:
  - cmd: conda build -c conda-forge -c defaults recipes\cate
  - cmd: conda build -c conda-forge -c defaults recipes\cate-cli
  - cmd: conda build -c conda-forge -c defaults recipes\cate-lib
  - cmd: conda build -c conda-forge -c defaults recipes\cate-util
  #- cmd: constructor installer

deploy_script:
  - cmd: anaconda -v -t %ANACONDA_TOKEN% upload "%PYTHON_LOC%\conda-bld\win-64\cate*.tar.bz2" -u ccitools --force
  # upload the installer
{'fraction_non_alphanumeric': 0.12400635930047695, 'fraction_numerical': 0.01695813460519343, 'mean_word_length': 3.3602771362586603, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1397172', 'n_tokens_mistral': 735, 'n_tokens_neox': 696, 'n_words': 177}