<commit_before>version: 2


jobs:
  build:
    docker: # run the steps with Docker
      - image: circleci/ruby:2.3-node # ...with this image as the primary container; this is where all `steps` will run
        environment: # environment variables for primary container
          LD_LIBRARY_PATH: /opt/oracle/instantclient_12_1
          # BUNDLE_JOBS: 3
          # BUNDLE_RETRY: 3
          # BUNDLE_PATH: vendor/bundle
          # PGHOST: 127.0.0.1
          # PGUSER: circleci-demo-ruby
          # RAILS_ENV: test
      - image: circleci/postgres:9.5-alpine # database image
    environment:
      # LD_LIBRARY_PATH: /opt/oracle/instantclient_12_1
    steps:
      - checkout
      - run:
          name: oracle_instantclient
          command: |
            sudo apt-get install libaio1
            sudo mkdir /opt/oracle
            sudo chmod 777 /opt/oracle/
            cd /opt/oracle
            curl -OL https://www.dropbox.com/s/p4tnqhyjjtibsjl/instantclient_install.zip
            sudo unzip instantclient_install.zip
            sudo unzip instantclient-basic-linux.x64-12.1.0.2.0.zip -d /opt/oracle
            sudo unzip instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /opt/oracle
            sudo unzip instantclient-sqlplus-linux.x64-12.1.0.2.0.zip -d /opt/oracle
            cd /opt/oracle/instantclient_12_1 && sudo ln -s libclntsh.so.12.1 libclntsh.so
            sudo mkdir /site
            sudo chmod 777 /site
            mv config/features.yml.circleci config/features.yml
      # Run rspec in parallel
      - run:
          name: Run rspec in parallel<commit_msg>Move config setting to top of steps.<commit_after>version: 2


jobs:
  build:
    docker: # run the steps with Docker
      - image: circleci/ruby:2.3-node # ...with this image as the primary container; this is where all `steps` will run
        environment: # environment variables for primary container
          LD_LIBRARY_PATH: /opt/oracle/instantclient_12_1
          # BUNDLE_JOBS: 3
          # BUNDLE_RETRY: 3
          # BUNDLE_PATH: vendor/bundle
          # PGHOST: 127.0.0.1
          # PGUSER: circleci-demo-ruby
          # RAILS_ENV: test
      - image: circleci/postgres:9.5-alpine # database image
    environment:
      # LD_LIBRARY_PATH: /opt/oracle/instantclient_12_1
    steps:
      - checkout
      - run:
          name: oracle_instantclient
          command: |
            mv config/features.yml.circleci config/features.yml
            sudo apt-get install libaio1
            sudo mkdir /opt/oracle
            sudo chmod 777 /opt/oracle/
            cd /opt/oracle
            curl -OL https://www.dropbox.com/s/p4tnqhyjjtibsjl/instantclient_install.zip
            sudo unzip instantclient_install.zip
            sudo unzip instantclient-basic-linux.x64-12.1.0.2.0.zip -d /opt/oracle
            sudo unzip instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /opt/oracle
            sudo unzip instantclient-sqlplus-linux.x64-12.1.0.2.0.zip -d /opt/oracle
            cd /opt/oracle/instantclient_12_1 && sudo ln -s libclntsh.so.12.1 libclntsh.so
            sudo mkdir /site
            sudo chmod 777 /site
      # Run rspec in parallel
      - run:
          name: Run rspec in parallel
{'fraction_non_alphanumeric': 0.08829953198127925, 'fraction_numerical': 0.035569422776911074, 'mean_word_length': 1.8676207513416816, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 8, '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': '726182', 'n_tokens_mistral': 1137, 'n_tokens_neox': 1014, 'n_words': 245}