<commit_before>general:
  artifacts:
    # Keep logs after running to help debug if errors do crop up.
    - "/tmp/api-umbrella-test/var/log"
machine:
  pre:
    # Enable IPv6 on CircleCI for running IPv6 integration tests.
    - sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=0
dependencies:
  cache_directories:
    - ci_cache
    - node_modules
    - vendor
  pre:
    # Install all the API Umbrella software dependencies.
    - make install PREFIX="$(pwd)/ci_cache/build"
    - make install_test_dependencies PREFIX="$(pwd)/ci_cache/build"

    # Get rid of all the intermediate downloads for building the dependencies.
    - make clean

    # Install the unbound package that's not included with API Umbrella, but
    # needed to run tests. But prevent it from automatically starting up after
    # install at the system level with the RUNLEVEL=1 variable.
    - sudo apt-get update
    - sudo env RUNLEVEL=1 apt-get install unbound

    # Use the mongo-orchestration library for providing a testable replicaset,
    # so we can see how the stack reacts to replicaset re-elections, etc.
    - sudo pip install mongo-orchestration==0.3.1
test:
  override:
    # Run the across parallel CI nodes.
    - test/circle_parallel:
        parallel: true

    # Copy the test reports into place.
    - mkdir -p $CIRCLE_TEST_REPORTS/rspec $CIRCLE_TEST_REPORTS/mocha
    - if [ -e src/api-umbrella/web-app/spec/reports/web-app.xml ]; then cp src/api-umbrella/web-app/spec/reports/web-app.xml $CIRCLE_TEST_REPORTS/rspec/; fi
    - if [ -e test/tmp/xunit.xml ]; then cp test/tmp/xunit.xml $CIRCLE_TEST_REPORTS/mocha/; fi
experimental:
  notify:
    branches:
      ignore:
        # Ignore the lua branches for now for notification purposes.
        - /lua.*/
<commit_msg>Disable apt-get update during CI setup.<commit_after>general:
  artifacts:
    # Keep logs after running to help debug if errors do crop up.
    - "/tmp/api-umbrella-test/var/log"
machine:
  pre:
    # Enable IPv6 on CircleCI for running IPv6 integration tests.
    - sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=0
dependencies:
  cache_directories:
    - ci_cache
    - node_modules
    - vendor
  pre:
    # Install all the API Umbrella software dependencies.
    - make install PREFIX="$(pwd)/ci_cache/build"
    - make install_test_dependencies PREFIX="$(pwd)/ci_cache/build"

    # Get rid of all the intermediate downloads for building the dependencies.
    - make clean

    # Install the unbound package that's not included with API Umbrella, but
    # needed to run tests. But prevent it from automatically starting up after
    # install at the system level with the RUNLEVEL=1 variable.
    - sudo env RUNLEVEL=1 apt-get install unbound

    # Use the mongo-orchestration library for providing a testable replicaset,
    # so we can see how the stack reacts to replicaset re-elections, etc.
    - sudo pip install mongo-orchestration==0.3.1
test:
  override:
    # Run the across parallel CI nodes.
    - test/circle_parallel:
        parallel: true

    # Copy the test reports into place.
    - mkdir -p $CIRCLE_TEST_REPORTS/rspec $CIRCLE_TEST_REPORTS/mocha
    - if [ -e src/api-umbrella/web-app/spec/reports/web-app.xml ]; then cp src/api-umbrella/web-app/spec/reports/web-app.xml $CIRCLE_TEST_REPORTS/rspec/; fi
    - if [ -e test/tmp/xunit.xml ]; then cp test/tmp/xunit.xml $CIRCLE_TEST_REPORTS/mocha/; fi
experimental:
  notify:
    branches:
      ignore:
        # Ignore the lua branches for now for notification purposes.
        - /lua.*/

{'fraction_non_alphanumeric': 0.08788209606986899, 'fraction_numerical': 0.008733624454148471, 'mean_word_length': 2.9923747276688455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3244388', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1177, 'n_words': 364}