<commit_before>language: ruby

rvm:
  - 2.1.0

env:
  - DB=mysql

services:
  - couchdb
  - memcached

before_script:
  - cp .env.example .env
  - mkdir -p tmp/pids

script:
  - bundle exec rake db:setup RAILS_ENV=test
  - bundle exec rspec

env:
  global:
    secure: <KEY>

addons:
  code_climate:
    repo_token: <KEY>

notifications:
  hipchat:
    matrix:
    - aff7ea27f6120805aee5aacc2dc36b@alm
    rooms:
      secure: <KEY>
    template:
      - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)'
    format: html<commit_msg>include redis in travis ci configuration, use ruby 2.2<commit_after>language: ruby

rvm:
  - 2.2.0

env:
  - DB=mysql

services:
  - couchdb
  - memcached
  - redis-server

before_script:
  - cp .env.example .env
  - mkdir -p tmp/pids

script:
  - bundle exec rake db:setup RAILS_ENV=test
  - bundle exec rspec

env:
  global:
    secure: <KEY>

addons:
  code_climate:
    repo_token: <KEY>

notifications:
  hipchat:
    matrix:
    - aff7ea27f6120805aee5aacc2dc36b@alm
    rooms:
      secure: <KEY>
    template:
      - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)'
    format: html
{'fraction_non_alphanumeric': 0.15223880597014924, 'fraction_numerical': 0.026865671641791045, 'mean_word_length': 3.138888888888889, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '1239979', 'n_tokens_mistral': 563, 'n_tokens_neox': 534, 'n_words': 112}