<commit_before>language: ruby
dist: trusty
sudo: false
rvm:
  - 2.3.1
  - jruby-9
  - rbx-3
gemfile:
  - spec/gemfiles/rails_4_2.gemfile
  - spec/gemfiles/rails_5_0.gemfile
git:
  submodules: false
env:
  global:
  - COVERAGE=1
  - TRAVIS=1
matrix:
  allow_failures:
  - rvm: rbx-3
sudo: false
cache: bundler
bundler_args: --path ../../vendor/bundle --without debug

script:
- bundle exec rspec --format d
- bundle exec codeclimate-test-reporter<commit_msg>Travis: only run codeclimate-test-reporter on MRI<commit_after>language: ruby
dist: trusty
sudo: false
rvm:
  - 2.3.1
  - jruby-9
  - rbx-3
gemfile:
  - spec/gemfiles/rails_4_2.gemfile
  - spec/gemfiles/rails_5_0.gemfile
git:
  submodules: false
env:
  global:
  - COVERAGE=1
  - TRAVIS=1
matrix:
  allow_failures:
  - rvm: rbx-3
sudo: false
cache: bundler
bundler_args: --path ../../vendor/bundle --without debug

script:
- bundle exec rspec --format d
- >
  if [[ "$(rvm current)" = "ruby-"* ]]; then
    bundle exec codeclimate-test-reporter
  fi
{'fraction_non_alphanumeric': 0.13220675944333996, 'fraction_numerical': 0.02385685884691849, 'mean_word_length': 3.076923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '7335670', 'n_tokens_mistral': 424, 'n_tokens_neox': 402, 'n_words': 94}