<commit_before>dist: trusty
sudo: required
language: ruby
rvm:
  - 2.0.0
before_install:
  - gem install bundler
  - sudo apt-get -y install sysvbanner
  - if [ -n "$ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION" ]; then sed -i.bak "s/spec.add_dependency 'activerecord'.*/spec.add_dependency 'activerecord', '~> $ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION'/" activerecord-mysql-reconnect.gemspec; fi
  - if [ -n "$ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION" -a "$ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION" "<" "4.2" ]; then sed -i.bak "s/spec.add_dependency 'mysql2'.*/spec.add_dependency 'mysql2', '< 0.4'/" activerecord-mysql-reconnect.gemspec; fi
  - bundle install
before_scriot:
  - banner `mysqld --version`
  - banner $ACTIVERECORD_MYSQL_RECONNECT_ENGINE
  - banner `bundle exec ruby -e 'require "active_record"; puts ActiveRecord::VERSION::STRING'`
scriot:
  - bundle exec rake
env:
  - ACTIVERECORD_MYSQL_RECONNECT_ENGINE=InnoDB
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=3.2.19 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=InnoDB
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=4.0.8 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=InnoDB
  - ACTIVERECORD_MYSQL_RECONNECT_ENGINE=MyISAM
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=3.2.19 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=MyISAM
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=4.0.8 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=MyISAM<commit_msg>Fix .travis.yml<commit_after>dist: trusty
sudo: required
language: ruby
rvm:
  - 2.0.0
before_install:
  - gem install bundler
  - sudo apt-get -y install sysvbanner
  - if [ -n "$ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION" ]; then sed -i.bak "s/spec.add_dependency 'activerecord'.*/spec.add_dependency 'activerecord', '~> $ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION'/" activerecord-mysql-reconnect.gemspec; fi
  - if [ -n "$ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION" -a "$ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION" "<" "4.2" ]; then sed -i.bak "s/spec.add_dependency 'mysql2'.*/spec.add_dependency 'mysql2', '< 0.4'/" activerecord-mysql-reconnect.gemspec; fi
  - bundle install
before_scriot:
  - banner `mysqld --version`
  - banner $ACTIVERECORD_MYSQL_RECONNECT_ENGINE
  - banner `bundle exec ruby -e 'require "active_record"; puts ActiveRecord::VERSION::STRING'`
scriot:
  - bundle exec rake
env:
  - ACTIVERECORD_MYSQL_RECONNECT_ENGINE=InnoDB
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=3.2.19 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=InnoDB
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=4.0.8 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=InnoDB
  - ACTIVERECORD_MYSQL_RECONNECT_ENGINE=MyISAM
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=3.2.19 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=MyISAM
  - ACTIVERECORD_MYSQL_RECONNECT_AR_VERSION=4.0.8 ACTIVERECORD_MYSQL_RECONNECT_ENGINE=MyISAM
addons:
  apt:
    packages:
    - mysql-server-5.6
    - mysql-client-core-5.6
    - mysql-client-5.6
{'fraction_non_alphanumeric': 0.1050763223287185, 'fraction_numerical': 0.01845935392261271, 'mean_word_length': 5.70952380952381, 'pattern_counts': {'":': 0, '<': 7, '<?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': '702121', 'n_tokens_mistral': 1147, 'n_tokens_neox': 1150, 'n_words': 158}