<commit_before>sudo: required

language: ruby

rvm:
  - 2.2.3

services:
  - docker

gemfile:
  - spec/dummy/Gemfile

env:
  - export RAILS_ENV=test

before_install:
  - sudo apt-get update
  - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin
  - sudo apt-get install -y xvfb

install:
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4.2.0
  - npm install -g npm
  - npm install -g poltergeist
  - bundle install
  - npm install<commit_msg>Switch back to selenium chrome<commit_after>sudo: required

language: ruby

rvm:
  - 2.2.3

services:
  - docker

gemfile:
  - spec/dummy/Gemfile

env:
  - export RAILS_ENV=test DRIVER=selenium_chrome

before_install:
  - sudo apt-get update
  - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin
  - sudo apt-get install -y xvfb

install:
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4.2.0
  - npm install -g npm
  - npm install -g poltergeist
  - bundle install
  - npm install
{'fraction_non_alphanumeric': 0.148224043715847, 'fraction_numerical': 0.01366120218579235, 'mean_word_length': 2.7757731958762886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4456148', 'n_tokens_mistral': 611, 'n_tokens_neox': 561, 'n_words': 140}