<commit_before># vim ft=yaml
# Multiple lines can be made a single "virtual line" because of the way that
# Travis munges each line before executing it to print out the exit status.
# It's okay for it to be on multiple physical lines, so long as you remember:
# - There can't be any leading "-"s - All newlines will be removed, so use
# ";"s
language: python
env:
    global:
        - DEPENDS="cython numpy scipy matplotlib h5py nibabel cvxopt"
python:
    - 2.6
    - 3.2
    - 3.3
    - 3.4
matrix:
  include:
    - python: 2.7
      env:
        - COVERAGE=--with-coverage
    # To test minimum dependencies
    - python: 2.7
      env:
        - DEPENDS="cython==0.18 numpy==1.6.0 scipy==0.9.0 nibabel"
before_install:
    - virtualenv venv
    - source venv/bin/activate
    - pip install nose # always
    - sudo apt-get install libblas-dev liblapack-dev libatlas3gf-base
    - pip install --no-index -f http://travis-wheels.scikit-image.org $DEPENDS
    - if [ "${COVERAGE}" == "--with-coverage" ]; then
      pip install coverage;
      pip install coveralls;
      fi
install:
    - python setup.py install
# command to run tests, e.g. python setup.py test
script:
    # Change into an innocuous directory and find tests from installation
    - mkdir for_testing
    - cd for_testing
    - if [ "${COVERAGE}" == "--with-coverage" ]; then cp ../.coveragerc .; fi
    - $PYTHON ../tools/dipnost $COVERAGE `python -c "import os; import dipy; print(os.path.dirname(dipy.__file__))"`
after_success:
    - if [ "${COVERAGE}" == "--with-coverage" ]; then coveralls; fi<commit_msg>RF: refactor coverage in travis file<commit_after># vim ft=yaml
# Multiple lines can be made a single "virtual line" because of the way that
# Travis munges each line before executing it to print out the exit status.
# It's okay for it to be on multiple physical lines, so long as you remember:
# - There can't be any leading "-"s - All newlines will be removed, so use
# ";"s
language: python
env:
    global:
        - DEPENDS="cython numpy scipy matplotlib h5py nibabel cvxopt"
python:
    - 2.6
    - 3.2
    - 3.3
    - 3.4
matrix:
  include:
    - python: 2.7
      env:
        - COVERAGE=1
    # To test minimum dependencies
    - python: 2.7
      env:
        - DEPENDS="cython==0.18 numpy==1.6.0 scipy==0.9.0 nibabel"
before_install:
    - virtualenv venv
    - source venv/bin/activate
    - pip install nose # always
    - sudo apt-get install libblas-dev liblapack-dev libatlas3gf-base
    - pip install --no-index -f http://travis-wheels.scikit-image.org $DEPENDS
    - if [ "${COVERAGE}" == "1" ]; then
      pip install coverage;
      pip install coveralls;
      fi
install:
    - python setup.py install
# command to run tests, e.g. python setup.py test
script:
    # Change into an innocuous directory and find tests from installation
    - mkdir for_testing
    - cd for_testing
    - if [ "${COVERAGE}" == "1" ]; then
      cp ../.coveragerc .;
      COVER_ARGS="--with-coverage --cover-package dipy";
      fi
    - $PYTHON ../tools/dipnost $COVER_ARGS `python -c "import os; import dipy; print(os.path.dirname(dipy.__file__))"`
after_success:
    - if [ "${COVERAGE}" == "1" ]; then coveralls; fi
{'fraction_non_alphanumeric': 0.11766541822721598, 'fraction_numerical': 0.015605493133583021, 'mean_word_length': 2.5810055865921786, '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': '5845369', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1065, 'n_words': 357}