<commit_before>language: python
python:
  - "2.7"
services:
  - rabbitmq
  - postgresql
before_install:
  - git clone git://github.com/openspending/openspending-installer.git
before_script:
  - echo in before_script
  - nosetests --version
install:
  - sudo env PATH=$PATH openspending-installer/vagrant/install.sh
script: "nosetests"
<commit_msg>Run travis on the travis machine instead of in a vagrant install<commit_after>language: python
python:
  - "2.7"
services:
  - rabbitmq
before_install:
  - virtualenv ./pyenv --distribute
  - source ./pyenv/bin/activate
install:
  - pip install -r requirements.txt -e .
  - git clone http://github.com/openspending/openspendingjs.git
  - ln -s openspendingjs openspending/ui/public/static/openspendingjs
  - pip install psycopg2
before_script:
  - curl https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.7.2 SOLR_CONFS="solr/schema.xml" SOLR_PORT=18983 bash
  - psql -c 'create database openspending;' -U postgres
  - cp development.ini_tmpl development.ini
  - cp test.ini_tmpl test.ini
  - git submodule init && git submodule update
  - nosetests --version
script:
  - nosetests

{'fraction_non_alphanumeric': 0.1067463706233988, 'fraction_numerical': 0.011101622544833475, 'mean_word_length': 3.7642276422764227, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '5231118', 'n_tokens_mistral': 409, 'n_tokens_neox': 398, 'n_words': 93}