<commit_before>language: python
env:
  global:
    - PATH=$PATH:/tmp/bin
# matrix:
#   - BROWSER=firefox
#   - BROWSER=chrome
python:
  # "2.6"
  - "2.7"
install:
  - "python setup.py install"
  - "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -"
  - "sudo /bin/sh -c 'echo \"deb http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
  - "sudo apt-get update"
  - "sudo apt-get install google-chrome-stable"
  # "sudo apt-get -f install"
  # Install Google Chrome
 #- "wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb"
 #- "sudo apt-get install libgconf2-4"
 #- "sudo dpkg -i google-chrome*.deb"
  # Install the Google Chrome webdriver
  - "mkdir /tmp/bin"
  - "wget https://chromedriver.googlecode.com/files/chromedriver_linux32_23.0.1240.0.zip"
  - "unzip chromedriver_linux32_23.0.1240.0.zip"
  - "mv chromedriver /tmp/bin"
  - "pip install -r docs/requirements.txt --use-mirrors"
  - "pip install -r example_project/requirements.txt --use-mirrors"
before_script:
  # Setup headless X per http://about.travis-ci.org/docs/user/gui-and-headless-browsers/
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script:
  - "export BROWSER=CHROME"
  - "PATH=$PATH:/tmp/bin sudo python example_project/manage.py harvest -A dajaxice,south,editlive"<commit_msg>Updated travis conf<commit_after>language: python
env:
  global:
    - PATH=$PATH:/tmp/bin
# matrix:
#   - BROWSER=firefox
#   - BROWSER=chrome
python:
  # "2.6"
  - "2.7"
install:
  - "python setup.py install"
  - "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -"
  - "sudo /bin/sh -c 'echo \"deb http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
  - "sudo apt-get update"
  - "sudo apt-get install google-chrome-stable"
  # "sudo apt-get -f install"
  # Install Google Chrome
 #- "wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb"
 #- "sudo apt-get install libgconf2-4"
 #- "sudo dpkg -i google-chrome*.deb"
  # Install the Google Chrome webdriver
  - "mkdir /tmp/bin"
  - "wget https://chromedriver.googlecode.com/files/chromedriver_linux32_23.0.1240.0.zip"
  - "unzip chromedriver_linux32_23.0.1240.0.zip"
  - "mv chromedriver /tmp/bin"
  - "pip install -r docs/requirements.txt --use-mirrors"
  - "pip install -r example_project/requirements.txt --use-mirrors"
before_script:
  # Setup headless X per http://about.travis-ci.org/docs/user/gui-and-headless-browsers/
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script:
  - "export BROWSER=CHROME"
  - "on -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()'"
  - "on -c 'import django; print django'"
  - "PATH=$PATH:/tmp/bin sudo python example_project/manage.py harvest -A dajaxice,south,editlive"
{'fraction_non_alphanumeric': 0.16151441472733588, 'fraction_numerical': 0.022229940951719346, 'mean_word_length': 3.2729970326409497, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '42980', 'n_tokens_mistral': 1179, 'n_tokens_neox': 1106, 'n_words': 217}