<commit_before>language: python
python:
  - "2.7"
  - "3.4"
before_install:
 - sudo apt-get update
 - sudo apt-get install python-opencv
 - sudo dpkg -L python-opencv
 - sudo apt-get install libboost-all-dev
 - sudo dpkg -L libboost-all-dev
 #http://stackoverflow.com/questions/7496547/python-scipy-needs-blas
 - sudo apt-get install gfortran libopenblas-dev liblapack-dev
# command to install dependencies
install:
 - sudo pip install cython
 - sudo pip install numpy
 - sudo pip install -r requirements.txt
 - export BASE_PYTHON_PATH=`which python`
 - python setup.py build
 - sudo $BASE_PYTHON_PATH setup.py install
 # Testing requirements
 - sudo pip install nose > /dev/null
 - sudo pip install scipy > /dev/null
 - echo "Installation complete!"
# command to run tests
script:
 - nosetests<commit_msg>Removing sudo from pip while installing to travis.<commit_after>language: python
python:
  - "2.7"
  - "3.4"
before_install:
 - sudo apt-get update
 - sudo apt-get install python-opencv
 - sudo dpkg -L python-opencv
 - sudo apt-get install libboost-all-dev
 - sudo dpkg -L libboost-all-dev
 #http://stackoverflow.com/questions/7496547/python-scipy-needs-blas
 - sudo apt-get install gfortran libopenblas-dev liblapack-dev
# command to install dependencies
install:
 - pip install cython
 - pip install numpy
 - pip install .
 # Testing requirements
 - pip install nose > /dev/null
 - pip install scipy > /dev/null
 - echo "Installation complete!"
# command to run tests
script:
 - nosetests
{'fraction_non_alphanumeric': 0.09692513368983957, 'fraction_numerical': 0.014705882352941176, 'mean_word_length': 3.4954954954954953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '591637', 'n_tokens_mistral': 513, 'n_tokens_neox': 479, 'n_words': 151}