<commit_before>version: 2

jobs:
  build:
    docker:
      - image: circleci/php:7.1-node-browsers
        environment:
          - ARTICLE_TEST_CASE=extend
      - image: circleci/mysql:5.7
        environment:
          - MYSQL_USER=root
          - MYSQL_PASSWORD=
          - MYSQL_ALLOW_EMPTY_PASSWORD=true
          - MYSQL_DATABASE=circle_test
      - image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2
        environment:
          - cluster.name: es-test-cluster
          - xpack.security.enabled: false
          - transport.host: localhost
          - network.host: 127.0.0.1
          - http.port: 9200
          - discovery.type: single-node
    steps:
      - checkout
      - run: 
          name: Install OS dependencies (mysql, gd)
          command: |
            sudo apt-get install -y libpng-dev
            sudo docker-php-ext-install pdo_mysql gd
          parallel: true
      - run: sudo composer self-update --snapshot<commit_msg>Set MYSQL_ROOT_PASSWORD variable in circleci configuration<commit_after>version: 2

jobs:
  build:
    docker:
      - image: circleci/php:7.1-node-browsers
        environment:
          - ARTICLE_TEST_CASE=extend
      - image: circleci/mysql:5.7
        environment:
          - MYSQL_ROOT_PASSWORD=
          - MYSQL_ALLOW_EMPTY_PASSWORD=true
          - MYSQL_DATABASE=circle_test
      - image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2
        environment:
          - cluster.name: es-test-cluster
          - xpack.security.enabled: false
          - transport.host: localhost
          - network.host: 127.0.0.1
          - http.port: 9200
          - discovery.type: single-node
    steps:
      - checkout
      - run:
          name: Install OS dependencies (mysql, gd)
          command: |
            sudo apt-get install -y libpng-dev
            sudo docker-php-ext-install pdo_mysql gd
          parallel: true
      - run: sudo composer self-update --snapshot
{'fraction_non_alphanumeric': 0.08900255754475703, 'fraction_numerical': 0.018414322250639385, 'mean_word_length': 1.7394957983193278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3785178', 'n_tokens_mistral': 615, 'n_tokens_neox': 593, 'n_words': 117}