<commit_before>language: python
cache: pip
python:
  - "2.7"

env:
  global:
    - LD_LIBRARY_PATH=~/sqlite-3.9.1/lib
  matrix:
    - SQLALCHEMY_DATABASE_URI="sqlite://"
    - SQLALCHEMY_DATABASE_URI="postgres://postgres@localhost:5432/abilian_core"

services:
  - redis-server

addons:
  postgresql: "9.3"

# Install OS dependencies
before_install:
  - pip install pip==8.1.1
  - export NPM_CONFIG_PREFIX=~/npm-packages
  - mkdir "${NPM_CONFIG_PREFIX}"
  - npm install -g less eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard
  - export PATH=~/npm-packages/bin:$PATH
  - wget 'http://jenkins.abilian.com/_fixtures/libsqlite-3.9.1-precise-bin.tar.gz'
  - tar xpvzf libsqlite-3.9.1-precise-bin.tar.gz -C ~<commit_msg>Test w/ Python 3.5.<commit_after>language: python
cache: pip
python:
  - "2.7"
  - "3.5"

matrix:
  allow_failures:
    - python: "3.5"

env:
  global:
    - LD_LIBRARY_PATH=~/sqlite-3.9.1/lib
  matrix:
    - SQLALCHEMY_DATABASE_URI="sqlite://"
    - SQLALCHEMY_DATABASE_URI="postgres://postgres@localhost:5432/abilian_core"

services:
  - redis-server

addons:
  postgresql: "9.3"

# Install OS dependencies
before_install:
  - pip install pip==8.1.1
  - export NPM_CONFIG_PREFIX=~/npm-packages
  - mkdir "${NPM_CONFIG_PREFIX}"
  - npm install -g less eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard
  - export PATH=~/npm-packages/bin:$PATH
  - wget 'http://jenkins.abilian.com/_fixtures/libsqlite-3.9.1-precise-bin.tar.gz'
  - tar xpvzf libsqlite-3.9.1-precise-bin.tar.gz -C ~
{'fraction_non_alphanumeric': 0.14738202973497092, 'fraction_numerical': 0.029734970911441498, 'mean_word_length': 3.5395894428152492, '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': '701281', 'n_tokens_mistral': 655, 'n_tokens_neox': 625, 'n_words': 96}