<commit_before>version: 2
# executor: "machine"
jobs:
  build:
    executor: "machine"
    steps:
      - checkout
      - run:
          name: Do stuff - Part I
          command: |
            curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` > docker-compose
            chmod +x docker-compose
            sudo mv docker-compose /usr/local/bin
            mv travis.env .env
            sudo docker-compose run web bundle install
            sudo docker-compose run web npm install
            sudo docker-compose run web bundle exec rails db:setup
            sudo docker-compose run web rake keys:generate
      - run:
          name: Do stuff - Part II
          command: |
            sudo docker-compose run web rspec spec
            sudo docker-compose run webpack sh run_js_build.sh
      - deploy:
          name: Build and push Docker image
          command: |
            echo "Tada!"<commit_msg>Add COVERALLS_REPO_TOKEN<commit_after>version: 2
# executor: "machine"
jobs:
  build:
    executor: "machine"
    steps:
      - checkout
      - run:
          name: Do stuff - Part I
          command: |
            curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` > docker-compose
            chmod +x docker-compose
            sudo mv docker-compose /usr/local/bin
            mv travis.env .env
            sudo docker-compose run web bundle install
            sudo docker-compose run web npm install
            sudo docker-compose run web bundle exec rails db:setup
            sudo docker-compose run web rake keys:generate
      - run:
          name: Do stuff - Part II
          command: |
            sudo docker-compose run -e COVERALLS_REPO_TOKEN=<KEY>dG web rspec spec
            sudo docker-compose run webpack sh run_js_build.sh
      - deploy:
          name: Build and push Docker image
          command: |
            echo "Tada!"
{'fraction_non_alphanumeric': 0.0789873417721519, 'fraction_numerical': 0.005063291139240506, 'mean_word_length': 1.710562414266118, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5482370', 'n_tokens_mistral': 623, 'n_tokens_neox': 568, 'n_words': 178}