<commit_before># Docs: https://circleci.com/docs/configuration/

machine:
  environment:
    # The github organization or username of the repository which hosts the
    # project and documentation.
    USERNAME: "edublancas"

    # The repository where the documentation will be hosted
    DOC_REPO: "sklearn-evaluation"

    # The base URL for the Github page where the documentation will be hosted
    DOC_URL: ""

    # The email is to be used for commits in the Github Page
    EMAIL: ""

dependencies:

  # Various dependencies
  pre:
    - sudo -E apt-get -yq remove texlive-binaries --purge
    - sudo apt-get update
    - sudo apt-get install libatlas-dev libatlas3gf-base
    - sudo apt-get install build-essential python-dev python-setuptools
    # install numpy first as it is a compile time dependency for other packages
    - pip install --upgrade numpy
    # - pip install --upgrade scipy matplotlib setuptools nose coverage sphinx pillow sphinx-gallery sphinx_rtd_theme
    # Installing required packages for `make -C doc check command` to work.
    - sudo -E apt-get -yq update
    - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install dvipng texlive-latex-base texlive-latex-extra
    # - pip install --upgrade cython numpydoc
    # - pip install --upgrade scikit-learn
    - pip install -r requirements.txt

  # The --user is needed to let sphinx see the source and the binaries
  # The pipefail is requested to propagate exit code
  override:
    - python setup.py clean
    - python setup.py develop
    - set -o pipefail && cd docs && make html 2>&1 | tee ~/log.txt
test:
  # Grep error on the documentation
  override:
    - cat ~/log.txt && if grep -q "Traceback (most recent call last):" ~/log.txt; then false; else true; fi

deployment:
  push:
    branch: master
    commands:
      - bash ci_scripts/circleci/push_doc.sh

general:
  # Open the doc to the API
  artifacts:
    - "doc/_build/html"
    - "~/log.txt"
  # Only build when pushing to the master branch
  branches:
    ignore:
      - gh-pages
#    only:
#      - master<commit_msg>removing unused instructions in circle ci<commit_after># Docs: https://circleci.com/docs/configuration/

machine:
  environment:
    # The github organization or username of the repository which hosts the
    # project and documentation.
    USERNAME: "edublancas"

    # The repository where the documentation will be hosted
    DOC_REPO: "sklearn-evaluation"

    # The base URL for the Github page where the documentation will be hosted
    DOC_URL: ""

    # The email is to be used for commits in the Github Page
    EMAIL: ""

dependencies:

  # Various dependencies
  pre:
    - sudo -E apt-get -yq remove texlive-binaries --purge
    - sudo apt-get update
    - sudo apt-get install libatlas-dev libatlas3gf-base
    - sudo apt-xget install build-essential python-dev python-setuptools
    - pip install --upgrade pip
    # install numpy first as it is a compile time dependency for other packages
    - pip install --upgrade numpy
    # Installing required packages for `make -C doc check command` to work.
    - sudo -E apt-get -yq update
    - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install dvipng texlive-latex-base texlive-latex-extra
    - pip install -r requirements.txt --quiet

  # The --user is needed to let sphinx see the source and the binaries
  # The pipefail is requested to propagate exit code
  override:
    - python setup.py clean
    - python setup.py develop
    - set -o pipefail && cd docs && make html 2>&1 | tee ~/log.txt
test:
  # Grep error on the documentation
  override:
    - cat ~/log.txt && if grep -q "Traceback (most recent call last):" ~/log.txt; then false; else true; fi

deployment:
  push:
    branch: master
    commands:
      - bash ci_scripts/circleci/push_doc.sh

general:
  # Open the doc to the API
  artifacts:
    - "doc/_build/html"
    - "~/log.txt"
  # Only build when pushing to the master branch
  branches:
    only:
      - master
{'fraction_non_alphanumeric': 0.0837255387664107, 'fraction_numerical': 0.0014862521674510775, 'mean_word_length': 2.738888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5744861', 'n_tokens_mistral': 1264, 'n_tokens_neox': 1191, 'n_words': 472}