<commit_before>language: python
sudo: required
python:
  - "2.7"
  - "2.6"
  - "3.2"
  - "3.3"
  - "3.4"
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y perceptualdiff imagemagick
install:
  - pip install -e .
script:
  - NEEDLE_BROWSER=phantomjs nosetests -v<commit_msg>Configuring travis build to run tests against both selenium 2 and 3<commit_after>language: python
sudo: required
python:
  - "2.7"
  - "2.6"
  - "3.2"
  - "3.3"
  - "3.4"
env:
  - SELENIUM_VERSION='<3'
  - SELENIUM_VERSION='<4'
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y perceptualdiff imagemagick
install:
  - pip install "selenium ${SELENIUM_VERSION}"
  - pip install -e .
script:
  - NEEDLE_BROWSER=phantomjs nosetests -v
{'fraction_non_alphanumeric': 0.1323529411764706, 'fraction_numerical': 0.03208556149732621, 'mean_word_length': 3.0486486486486486, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7073883', 'n_tokens_mistral': 322, 'n_tokens_neox': 300, 'n_words': 75}