<commit_before>language: php
php:
  - 5.5
  - 5.4
  - 5.3
before_script:
  # http://about.travis-ci.org/docs/user/database-setup/
  - composer install
  - sudo apt-get -y install sphinxsearch
  - sudo chmod 777 /usr/bin/searchd
  - sudo chmod 777 /usr/bin/indexer
  - mysql -e 'create database testDB; use testDB; CREATE TABLE IF NOT EXISTS movies ( id int(11) NOT NULL AUTO_INCREMENT,  title varchar(255) COLLATE utf8_unicode_ci NOT NULL,  year int(11) NOT NULL,   PRIMARY KEY (id) ) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ; INSERT INTO movies (id, title, year) VALUES (1, \'The Amazing Spider-Man\', 2012),(2, \'The Amazing Spider-Man 2\', 2014),(3, \'Spider-Man 2\', 2004),(4, \'Spider-Man 3\', 2007),(5, \'Spider-Man\', 2002),(6, \'Spider-Man\', 1977);' > /dev/null
  - indexer --config config/sphinx.conf --rotate --all<commit_msg>Travis config<commit_after>language: php
php:
  - 5.5
  - 5.4
  - 5.3
before_script:
  # http://about.travis-ci.org/docs/user/database-setup/
  - composer install
  - sudo apt-get -y install sphinxsearch
  - sudo chmod 777 /usr/bin/searchd
  - sudo chmod 777 /usr/bin/indexer
  - mysql -e "create database testDB; use testDB; CREATE TABLE IF NOT EXISTS movies ( id int(11) NOT NULL AUTO_INCREMENT,  title varchar(255) COLLATE utf8_unicode_ci NOT NULL,  year int(11) NOT NULL,   PRIMARY KEY (id) ) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ; INSERT INTO movies (id, title, year) VALUES (1, 'The Amazing Spider-Man', 2012),(2, 'The Amazing Spider-Man 2', 2014),(3, 'Spider-Man 2', 2004),(4, 'Spider-Man 3', 2007),(5, 'Spider-Man', 2002),(6, 'Spider-Man', 1977);" > /dev/null
  - indexer --config config/sphinx.conf --rotate --all
{'fraction_non_alphanumeric': 0.1497695852534562, 'fraction_numerical': 0.06451612903225806, 'mean_word_length': 3.720108695652174, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1910810', 'n_tokens_mistral': 771, 'n_tokens_neox': 635, 'n_words': 184}