<commit_before>language: python
python:
  - "2.6"
  - "2.7"
node_js:
  - "0.10"
env:
  # Test against the latest version of Twisted using Riak 1.4.
  - TWISTED_VERSION="Twisted" RIAK_VERSION="1.4.12-1"
matrix:
  include:
    # Test against the oldest version of Twisted that we claim to support.
    # This is a separate matrix inclusion to avoid spawning unnecessary builds.
    - python: "2.7"
      env: TWISTED_VERSION="Twisted==13.1.0"
    # Test against the currently installed version of Riak in Travis.
    # This is a separate matrix inclusion to avoid spawning unnecessary builds.
    - python: "2.7"
      env: RIAK_VERSION="current"
services:
  - redis-server
before_install:
  # Set up an appropriate version of Riak.
  - sudo utils/setup_travis_riak.sh
  # We need the protobuf-compiler so we can install Riak client libraries.
  - sudo apt-get -qq update
  - sudo apt-get install -qq protobuf-compiler
install:
  - "pip install ${TWISTED_VERSION}"
  - "pip install -r requirements.pip --use-wheel"
  - "pip install coveralls --use-wheel"
  - "python setup.py install"
before_script:
  # To see what version of Riak we're running and check that it's happy.
  - riak version
  - riak-admin member-status
script:
  - VUMITEST_REDIS_DB=1 VUMI_TEST_NODE_PATH="$(which node)" coverage run --source=vumi `which trial` vumi
after_success:
  - coveralls<commit_msg>Fix env vars and Riak setup.<commit_after>language: python
python:
  - "2.6"
  - "2.7"
node_js:
  - "0.10"
env:
  # Test against the latest version of Twisted using Riak 1.4.
  - TWISTED_VERSION="Twisted" RIAK_VERSION="1.4.12-1"
matrix:
  include:
    # Test against the oldest version of Twisted that we claim to support.
    # This is a separate matrix inclusion to avoid spawning unnecessary builds.
    - python: "2.7"
      env: TWISTED_VERSION="Twisted==13.1.0" RIAK_VERSION="1.4.12-1"
    # Test against the currently installed version of Riak in Travis.
    # This is a separate matrix inclusion to avoid spawning unnecessary builds.
    - python: "2.7"
      env: TWISTED_VERSION="Twisted" RIAK_VERSION="current"
services:
  - redis-server
before_install:
  # Set up an appropriate version of Riak.
  - sudo utils/setup_travis_riak.sh "${RIAK_VERSION}"
  # We need the protobuf-compiler so we can install Riak client libraries.
  - sudo apt-get -qq update
  - sudo apt-get install -qq protobuf-compiler
install:
  - "pip install ${TWISTED_VERSION}"
  - "pip install -r requirements.pip --use-wheel"
  - "pip install coveralls --use-wheel"
  - "python setup.py install"
before_script:
  # To see what version of Riak we're running and check that it's happy.
  - riak version
  - riak-admin member-status
script:
  - VUMITEST_REDIS_DB=1 VUMI_TEST_NODE_PATH="$(which node)" coverage run --source=vumi `which trial` vumi
after_success:
  - coveralls
{'fraction_non_alphanumeric': 0.09946902654867257, 'fraction_numerical': 0.018053097345132742, 'mean_word_length': 3.408736349453978, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1292484', 'n_tokens_mistral': 978, 'n_tokens_neox': 931, 'n_words': 311}