<commit_before>language: python

sudo: required
dist: trusty

python:
  - "2.7"

virtualenv:
  system_site_packages: true

addons:
  apt:
    packages:
    - libnlopt0
    - python-nlopt

script: python -c 'import nlopt'

<commit_msg>travis pt. 2<commit_after>language: python

python:
  - "2.7"
  - "3.4"

before_install:
  - wget http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz
  - tar -xvf nlopt-2.4.2.tar.gz
  - cd nlopt-2.4.2

install:
  - PYTHON=$(which python) ./configure --prefix=$(dirname $(dirname $(which python))) --enable-shared
  - make
  - make install
  - pip install --upgrade pip
  - pip install scipy
  - python setup.py install

script: py.test

{'fraction_non_alphanumeric': 0.1437125748502994, 'fraction_numerical': 0.025449101796407185, 'mean_word_length': 2.7796610169491527, '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': '43279', 'n_tokens_mistral': 267, 'n_tokens_neox': 267, 'n_words': 60}