<commit_before>version: 2
jobs:
    build:
        docker:
            - image: circleci/python:3.7.0-stretch-node-browsers
        steps:
            - checkout
            - run:
                name: Install miniconda
                command: |
                  wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O ~/miniconda.sh;
                  chmod +x ~/miniconda.sh;
                  ~/miniconda.sh -b -p ~/miniconda;
                  echo "export PATH=~/miniconda/bin:$PATH" >> $BASH_ENV;
            - run:
                name: Setup Python environment
                command: |
                    conda update --yes conda
                    conda create -n testenv --yes python=3.7
                    source activate testenv
                    pip install --upgrade pip -q
                    pip install sphinx matplotlib coverage Pillow -q
                    pip install sphinx-gallery -q
                    pip install scipy scikit-learn pandas -q
                    pip install -e .
                    pip install sphinx_bootstrap_theme numpydoc -q
                    pip install -e git+http://github.com/KordingLab/spykes.git#egg=spykes
                    python --version
                    pip list
            - run:
                name: Build the documentation
                command: |
                    source activate testenv
                    cd doc && make html
                no_output_timeout: 30m
            - store_artifacts:
                path: doc/_build/html/
                destination: html<commit_msg>FIX: try with different name<commit_after>version: 2
jobs:
    build_docs:
        docker:
            - image: circleci/python:3.7.0-stretch-node-browsers
        steps:
            - checkout
            - run:
                name: Install miniconda
                command: |
                  wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O ~/miniconda.sh;
                  chmod +x ~/miniconda.sh;
                  ~/miniconda.sh -b -p ~/miniconda;
                  echo "export PATH=~/miniconda/bin:$PATH" >> $BASH_ENV;
            - run:
                name: Setup Python environment
                command: |
                    conda update --yes conda
                    conda create -n testenv --yes python=3.7
                    source activate testenv
                    pip install --upgrade pip -q
                    pip install sphinx matplotlib coverage Pillow -q
                    pip install sphinx-gallery -q
                    pip install scipy scikit-learn pandas -q
                    pip install -e .
                    pip install sphinx_bootstrap_theme numpydoc -q
                    pip install -e git+http://github.com/KordingLab/spykes.git#egg=spykes
                    python --version
                    pip list
            - run:
                name: Build the documentation
                command: |
                    source activate testenv
                    cd doc && make html
                no_output_timeout: 30m
            - store_artifacts:
                path: doc/_build/html/
                destination: html

workflows:
  version: 2
  search_build:
    jobs:
      - build_docs
{'fraction_non_alphanumeric': 0.07273838630806846, 'fraction_numerical': 0.007640586797066014, 'mean_word_length': 1.0873724489795917, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6095460', 'n_tokens_mistral': 914, 'n_tokens_neox': 810, 'n_words': 223}