<commit_before>before_install:
  - sh -e /etc/init.d/xvfb start
  - which qmake
language: ruby
cache: bundler
sudo: false
bundler_args: --without production
before_script:
 - curl https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.2.0 bash
 - cp config/database.example.yml config/database.yml
 - sed /AWS_HOST/d config/application.example.yml > config/application.yml
 - bundle exec rake db:setup
 - bundle exec sidekiq -d -L /tmp/sidekiq.log
 - sleep 1
after_failure:
 - cat log/test.log
services:
 - redis-server
script: bundle exec rspec --tag ~ci_ignore
env:
  global:
    - DISPLAY=:99.0
    - DISABLE_SCREENSHOTS=true
    - QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
addons:
  apt:
    sources:
    - ubuntu-sdk-team
    packages:
      - libqt5webkit5-dev
      - qtdeclarative5-dev<commit_msg>Refactor travis file, installed additional dep for capybara<commit_after>sudo: false
language: ruby
cache: bundler
bundler_args: --without production -j3 --deployment
before_script:
 - "sh -e /etc/init.d/xvfb start"
 - curl https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.2.0 bash
 - cp config/database.example.yml config/database.yml
 - cp config/application.example.yml config/application.yml
 - cp config/sunspot.example.yml config/sunspot.yml
 - cp config/sidekiq.example.yml config/sidekiq.yml
 - bundle exec rake db:setup
 - bundle exec sidekiq -d -L /tmp/sidekiq.log
 - sleep 3
script: bundle exec rspec --tag ~ci_ignore
after_failure:
 - cat log/test.log
services:
 - redis-server
env:
  global:
    - DISPLAY=:99.0
    - DISABLE_SCREENSHOTS=true
    - QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
addons:
  apt:
    sources:
      - ubuntu-sdk-team
    packages:
      - libqt5webkit5-dev
      - qt5-default
      - gstreamer1.0-plugins-base
      - gstreamer1.0-tools
      - gstreamer1.0-x
{'fraction_non_alphanumeric': 0.11656118143459916, 'fraction_numerical': 0.019514767932489453, 'mean_word_length': 3.0795698924731183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '6735062', 'n_tokens_mistral': 731, 'n_tokens_neox': 698, 'n_words': 139}