<commit_before># vim ft=yaml
# travis-ci.org definition for nipy build
#
# We pretend to be erlang because we need can't use the python support in
# travis-ci; it uses virtualenvs, they do not have numpy, scipy, matplotlib,
# and it is impractical to build them
language: erlang
env:
    - PYTHON=python PYSUF=''
    # - PYTHON=python3 PYSUF=3 : python3-numpy not currently available
install:
    # - sudo apt-get build-dep $PYTHON-numpy
    - sudo apt-get install $PYTHON-dev
    - sudo apt-get install $PYTHON-numpy
    - sudo apt-get install $PYTHON-scipy
    - sudo apt-get install $PYTHON-tables
    # - sudo apt-get install $PYTHON-pyvtk
    - sudo apt-get install cython
    - sudo apt-get install $PYTHON-setuptools
    - sudo easy_install$PYSUF nibabel # Latest pypi
    - sudo apt-get install $PYTHON-nose
    - $PYTHON setup.py build
    - sudo $PYTHON setup.py install
script:
    # Change into an innocuous directory and find tests from installation
    - mkdir for_test
    - cd for_test
    - nosetests --with-doctest `$PYTHON -c "import os; import dipy; print(os.path.dirname(dipy.__file__))"`
notifications:
  email: false
<commit_msg>PKG - Revert .travis.yml to previous state.<commit_after># vim ft=yaml
# travis-ci.org definition for nipy build
#
# We pretend to be erlang because we need can't use the python support in
# travis-ci; it uses virtualenvs, they do not have numpy, scipy, matplotlib,
# and it is impractical to build them
language: erlang
env:
    - PYTHON=python PYSUF=''
    # - PYTHON=python3 PYSUF=3 : python3-numpy not currently available
install:
    # - sudo apt-get build-dep $PYTHON-numpy
    - sudo apt-get install $PYTHON-dev
    - sudo apt-get install $PYTHON-numpy
    - sudo apt-get install $PYTHON-scipy
    - sudo apt-get install $PYTHON-tables
    # - sudo apt-get install $PYTHON-pyvtk
    - sudo apt-get install cython
    - sudo apt-get install $PYTHON-setuptools
    - sudo easy_install$PYSUF nibabel # Latest pypi
    - sudo apt-get install $PYTHON-nose
    - $PYTHON setup.py build
    - sudo $PYTHON setup.py install
script:
    # Change into an innocuous directory and find tests from installation
    - mkdir for_test
    - cd for_test
    - nosetests --with-doctest `$PYTHON -c "import os; import dipy; print(os.path.dirname(dipy.__file__))"`

{'fraction_non_alphanumeric': 0.09114583333333333, 'fraction_numerical': 0.0026041666666666665, 'mean_word_length': 3.1160714285714284, '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': '4372407', 'n_tokens_mistral': 831, 'n_tokens_neox': 797, 'n_words': 256}