<commit_before>branches:
  only:
    - master

environment:
  CONDA_INSTALL_LOCN: "C:\\conda"
  CMD_IN_ENV: cmd /E:ON /V:ON /C Obvious-CI\scripts\obvci_appveyor_python_build_env.cmd

  BINSTAR_TOKEN:
    secure: <KEY>

  matrix:
    - TARGET_ARCH: "x64"
      CONDA_PY: "27"
      CONDA_NPY: "19"
    - TARGET_ARCH: "x64"
      CONDA_PY: "34"
      CONDA_NPY: "19"
    - TARGET_ARCH: "x86"
      CONDA_PY: "27"
      CONDA_NPY: "19"
    - TARGET_ARCH: "x86"
      CONDA_PY: "34"
      CONDA_NPY: "19"

# We always use a 64-bit machine, but can build x86 distributions
# with the TARGET_ARCH variable.
platform:
    - x64

install:
    - cmd: git submodule update --init --recursive
    - cmd: rmdir C:\cygwin /s /q
    - cmd: python Obvious-CI\bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci --miniconda-version latest
    - cmd: SET PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\Scripts;%PATH%

    - cmd: conda config --set always_yes true
    - cmd: conda update conda
    - cmd: conda config --add channels astropy
    - cmd: conda install --quiet astropy conda-build binstar jinja2
    # Install obvious-ci; run 2to3 first if the build is python 3.
    - cmd: cd Obvious-CI & (if %CONDA_PY:~0,1%==3 2to3 -w .) & python setup.py install & cd ..

# Skip .NET project specific build phase.
build: off

test_script:
    - "%CMD_IN_ENV% python affiliate-builder\\prepare_packages.py requirements.txt"
    - if exist recipes %CMD_IN_ENV% obvci_conda_build_dir.py --disable-upload recipes astropy
    - if exist bdist_conda %CMD_IN_ENV% build_bdist.bat

on_success:
    - "if exist bdist_conda %CMD_IN_ENV% python affiliate-builder\\upload_bdists.py"<commit_msg>Add cython to appveyor install<commit_after>branches:
  only:
    - master

environment:
  CONDA_INSTALL_LOCN: "C:\\conda"
  CMD_IN_ENV: cmd /E:ON /V:ON /C Obvious-CI\scripts\obvci_appveyor_python_build_env.cmd

  BINSTAR_TOKEN:
    secure: <KEY>

  matrix:
    - TARGET_ARCH: "x64"
      CONDA_PY: "27"
      CONDA_NPY: "19"
    - TARGET_ARCH: "x64"
      CONDA_PY: "34"
      CONDA_NPY: "19"
    - TARGET_ARCH: "x86"
      CONDA_PY: "27"
      CONDA_NPY: "19"
    - TARGET_ARCH: "x86"
      CONDA_PY: "34"
      CONDA_NPY: "19"

# We always use a 64-bit machine, but can build x86 distributions
# with the TARGET_ARCH variable.
platform:
    - x64

install:
    - cmd: git submodule update --init --recursive
    - cmd: rmdir C:\cygwin /s /q
    - cmd: python Obvious-CI\bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci --miniconda-version latest
    - cmd: SET PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\Scripts;%PATH%

    - cmd: conda config --set always_yes true
    - cmd: conda update conda
    - cmd: conda config --add channels astropy
    - cmd: conda install --quiet astropy conda-build binstar jinja2 cython
    # Install obvious-ci; run 2to3 first if the build is python 3.
    - cmd: cd Obvious-CI & (if %CONDA_PY:~0,1%==3 2to3 -w .) & python setup.py install & cd ..

# Skip .NET project specific build phase.
build: off

test_script:
    - "%CMD_IN_ENV% python affiliate-builder\\prepare_packages.py requirements.txt"
    - if exist recipes %CMD_IN_ENV% obvci_conda_build_dir.py --disable-upload recipes astropy
    - if exist bdist_conda %CMD_IN_ENV% build_bdist.bat

on_success:
    - "if exist bdist_conda %CMD_IN_ENV% python affiliate-builder\\upload_bdists.py"
{'fraction_non_alphanumeric': 0.11502890173410404, 'fraction_numerical': 0.023699421965317918, 'mean_word_length': 3.091016548463357, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6382636', 'n_tokens_mistral': 1382, 'n_tokens_neox': 1319, 'n_words': 324}