<commit_before>language: ruby
services:
  - redis
addons:
  postgresql: 9.3
rvm:
  - jruby-19mode
  - 2.0.0
  - 2.1.2
jdk: oraclejdk7
matrix:
  fast_finish: true
  allow_failures:
    - rvm: 2.1.2
before_script:
  # create 'logs' table matching 'travis-logs'
  - ./set_up_travis_logs.sh
  # set up travis_test DB
  - sudo service mysql stop
  - redis-cli config set save ""
  - 'RAILS_ENV=test bundle exec rake db:create db:structure:load --trace'
  # replace 'logs' table in travis_test DB with that in travis_logs_test
  - psql -c "DROP TABLE IF EXISTS logs CASCADE" -U postgres travis_test
  - pg_dump -t logs travis_logs_test | psql -U postgres travis_test

script:
  - ./build.sh
notifications:
  irc: irc.freenode.org#travis
  campfire:
    rooms:
      - secure: "<KEY>
    template:
      - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (details: %{build_url}, changes: %{compare_url})'<commit_msg>don't stop mysql<commit_after>language: ruby
services:
  - redis
addons:
  postgresql: 9.3
rvm:
  - jruby-19mode
  - 2.0.0
  - 2.1.2
jdk: oraclejdk7
matrix:
  fast_finish: true
  allow_failures:
    - rvm: 2.1.2
before_script:
  # create 'logs' table matching 'travis-logs'
  - ./set_up_travis_logs.sh
  # set up travis_test DB
  - redis-cli config set save ""
  - 'RAILS_ENV=test bundle exec rake db:create db:structure:load --trace'
  # replace 'logs' table in travis_test DB with that in travis_logs_test
  - psql -c "DROP TABLE IF EXISTS logs CASCADE" -U postgres travis_test
  - pg_dump -t logs travis_logs_test | psql -U postgres travis_test

script:
  - ./build.sh
notifications:
  irc: irc.freenode.org#travis
  campfire:
    rooms:
      - secure: "<KEY>
    template:
      - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (details: %{build_url}, changes: %{compare_url})'
{'fraction_non_alphanumeric': 0.12951969778737182, 'fraction_numerical': 0.015110631408526714, 'mean_word_length': 3.3623529411764705, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2910775', 'n_tokens_mistral': 745, 'n_tokens_neox': 716, 'n_words': 183}