<commit_before>language: ruby
rvm:
- "2.2.3"
sudo: false
cache: bundler
env:
  global:
  - RUBY_GC_MALLOC_LIMIT=90000000
  matrix:
  - "GEM=manageiq_foreman"
  - "GEM=pending"
  - "TEST_SUITE=vmdb"
  - "TEST_SUITE=migrations"
  - "TEST_SUITE=replication"
  - "TEST_SUITE=automation"
  - "TEST_SUITE=javascript"
  - "TEST_SUITE=brakeman"
matrix:
  fast_finish: true
addons:
  postgresql: '9.4'
before_install:
- "echo 'gem: --no-ri --no-rdoc --no-document' > ~/.gemrc"
- "[[ -n \"$GEM\" ]] || echo \"1\" > REGION"
- "[[ -n \"$GEM\" ]] || cp config/database.pg.yml config/database.yml"
- "[[ -n \"$GEM\" ]] || cp certs/v2_key.dev certs/v2_key"
- "[[ -n \"$GEM\" ]] || psql -c \"CREATE USER root SUPERUSER PASSWORD '<PASSWORD>';\" -U postgres"
- "[[ -z \"$GEM\" ]] || cd gems/$GEM"
- "export BUNDLE_WITHOUT=qpid"
- "[[ -n \"$GEM\" ]] || export BUNDLE_WITHOUT=development:$BUNDLE_WITHOUT"
- "export BUNDLE_GEMFILE=$PWD/Gemfile"
before_script:
- "[[ -z \"$TEST_SUITE\" ]] || bundle exec rake test:$TEST_SUITE:setup"
script:
- "bundle exec rake ${TEST_SUITE+test:$TEST_SUITE}"<commit_msg>migrations, automation, and pending/gems needs the v2_key too<commit_after>language: ruby
rvm:
- "2.2.3"
sudo: false
cache: bundler
env:
  global:
  - RUBY_GC_MALLOC_LIMIT=90000000
  matrix:
  - "GEM=manageiq_foreman"
  - "GEM=pending"
  - "TEST_SUITE=vmdb"
  - "TEST_SUITE=migrations"
  - "TEST_SUITE=replication"
  - "TEST_SUITE=automation"
  - "TEST_SUITE=javascript"
  - "TEST_SUITE=brakeman"
matrix:
  fast_finish: true
addons:
  postgresql: '9.4'
before_install:
- "echo 'gem: --no-ri --no-rdoc --no-document' > ~/.gemrc"
- "[[ -n \"$GEM\" ]] || echo \"1\" > REGION"
- "[[ -n \"$GEM\" ]] || cp config/database.pg.yml config/database.yml"
- "[[ -f certs/v2_key.dev ]] || cp certs/v2_key.dev certs/v2_key"
- "[[ -n \"$GEM\" ]] || psql -c \"CREATE USER root SUPERUSER PASSWORD '<PASSWORD>';\" -U postgres"
- "[[ -z \"$GEM\" ]] || cd gems/$GEM"
- "export BUNDLE_WITHOUT=qpid"
- "[[ -n \"$GEM\" ]] || export BUNDLE_WITHOUT=development:$BUNDLE_WITHOUT"
- "export BUNDLE_GEMFILE=$PWD/Gemfile"
before_script:
- "[[ -z \"$TEST_SUITE\" ]] || bundle exec rake test:$TEST_SUITE:setup"
script:
- "bundle exec rake ${TEST_SUITE+test:$TEST_SUITE}"
{'fraction_non_alphanumeric': 0.21081081081081082, 'fraction_numerical': 0.015315315315315315, 'mean_word_length': 3.838779956427015, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '2295420', 'n_tokens_mistral': 1010, 'n_tokens_neox': 976, 'n_words': 174}