<commit_before>---
defaults: &defaults
  working_directory: ~/cli
  docker:
    - image: dickeyxxx/cli-engine-docker:v2.1.0
      environment:
        NPM_CONFIG_REGISTRY: https://cli-npm.heroku.com

version: 2
executorType: docker
jobs:
  test:
    <<: *defaults
    steps:
      - checkout
      - restore_cache:
          keys:
            - v2-test-{{ checksum "yarn.lock" }}
            - v2-test
      - run: ./scripts/prep
      - run: ./scripts/test
      - save_cache:
          key: v2-test-{{ checksum "yarn.lock" }}
          paths:
            - /usr/local/share/.cache/yarn
            - ~/cli/node_modules
  darwin_x64:
    docker:
      - image: circleci/node:8.4
        environment:
          NPM_CONFIG_REGISTRY: https://cli-npm.heroku.com
    steps:
      - checkout
      - restore_cache: &release_target_yarn_cache
          keys:
            - v3-release-target-yarn-{{ checksum "yarn.lock" }}
            - v3-release-target-yarn
      - restore_cache: {keys: [node-v8.3.0-darwin-x64]}
      - run: ./scripts/build/darwin
      - persist_to_workspace: &persist_workspace<commit_msg>use standard docker image<commit_after>---
defaults: &defaults
  working_directory: ~/cli
  docker:
    - image: dickeyxxx/cli-engine-docker:v2.1.0
      environment:
        NPM_CONFIG_REGISTRY: https://cli-npm.heroku.com

version: 2
executorType: docker
jobs:
  test:
    <<: *defaults
    steps:
      - checkout
      - restore_cache:
          keys:
            - v2-test-{{ checksum "yarn.lock" }}
            - v2-test
      - run: ./scripts/prep
      - run: ./scripts/test
      - save_cache:
          key: v2-test-{{ checksum "yarn.lock" }}
          paths:
            - /usr/local/share/.cache/yarn
            - ~/cli/node_modules
  darwin_x64:
    <<: *defaults
    docker:
      - image: circleci/node:8.4
        environment:
          NPM_CONFIG_REGISTRY: https://cli-npm.heroku.com
    steps:
      - checkout
      - restore_cache: &release_target_yarn_cache
          keys:
            - v3-release-target-yarn-{{ checksum "yarn.lock" }}
            - v3-release-target-yarn
      - restore_cache: {keys: [node-v8.3.0-darwin-x64]}
      - run: ./scripts/build/darwin
      - persist_to_workspace: &persist_workspace
{'fraction_non_alphanumeric': 0.1311329170383586, 'fraction_numerical': 0.016057091882247992, 'mean_word_length': 1.78287841191067, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2806611', 'n_tokens_mistral': 803, 'n_tokens_neox': 769, 'n_words': 125}