<commit_before>version: 2
jobs:
  build:
    docker:
      - image: buildpack-deps:zesty
    working_directory: ~/
    environment:
      - TERM: xterm-256color
    steps:
      - run:
          name: OS Setup
          command: |
            apt -y update --fix-missing
            apt -y install locales sudo
            locale-gen en_US.UTF-8
      - run:
          name: Install rcm
          command: |
            apt -y update --fix-missing
            apt -y install software-properties-common
            apt-add-repository -y ppa:martin-frost/thoughtbot-rcm
      - run:
          name: Install dependencies
          command: |
            apt -y update --fix-missing
            apt -y install build-essential curl git rcm ruby
      - run:
          name: Create user
          command: useradd -m tester
      - run:
          name: Install dotfiles
          working_directory: /home/tester
          command: |
            sudo -u tester git clone https://github.com/raviqqe/dotfiles /home/tester/.dotfiles
            sudo -iu tester rcup -f
      - run:
          name: Test updot command
          working_directory: /home/tester
          no_output_timeout: 30m
          command: sudo -iu tester sh -c 'export PATH=$HOME/.local/bin:$PATH && updot -b || updot -b'<commit_msg>Run CI in verbose mode<commit_after>version: 2
jobs:
  build:
    docker:
      - image: buildpack-deps:zesty
    working_directory: ~/
    environment:
      - TERM: xterm-256color
    steps:
      - run:
          name: OS Setup
          command: |
            apt -y update --fix-missing
            apt -y install locales sudo
            locale-gen en_US.UTF-8
      - run:
          name: Install rcm
          command: |
            apt -y update --fix-missing
            apt -y install software-properties-common
            apt-add-repository -y ppa:martin-frost/thoughtbot-rcm
      - run:
          name: Install dependencies
          command: |
            apt -y update --fix-missing
            apt -y install build-essential curl git rcm ruby
      - run:
          name: Create user
          command: useradd -m tester
      - run:
          name: Install dotfiles
          working_directory: /home/tester
          command: |
            sudo -u tester git clone https://github.com/raviqqe/dotfiles /home/tester/.dotfiles
            sudo -iu tester rcup -f
      - run:
          name: Test updot command
          working_directory: /home/tester
          no_output_timeout: 30m
          command: sudo -iu tester sh -c 'export PATH=$HOME/.local/bin:$PATH && updot -bv || updot -b'
{'fraction_non_alphanumeric': 0.08692307692307692, 'fraction_numerical': 0.005384615384615384, 'mean_word_length': 1.484240687679083, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1506781', 'n_tokens_mistral': 778, 'n_tokens_neox': 732, 'n_words': 221}