<commit_before>language: python

python:
    - 2.7
    - 3.3

env:
    - NUMPY_VERSION=1.8 ASTROPY_VERSION=0.3.1 SETUP_CMD='test'

before_install:
   - source .setup_conda.sh $TRAVIS_PYTHON_VERSION
   - export PATH=/home/travis/anaconda/bin:/home/travis/miniconda3/bin:$PATH

install:
   - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION astropy=$ASTROPY_VERSION pytest pytest-cov coveralls

script:
   - if [[ $SETUP_CMD == test ]]; then cd spectral_cube/tests/data ; make ; cd ../../../ ; fi
   - if [[ $SETUP_CMD == test ]]; then py.test --cov spectral_cube ; fi

after_success:<commit_msg>Use pip for pytest-cov and coveralls<commit_after>language: python

python:
    - 2.7
    - 3.3

env:
    - NUMPY_VERSION=1.8 ASTROPY_VERSION=0.3.1 SETUP_CMD='test'

before_install:
   - source .setup_conda.sh $TRAVIS_PYTHON_VERSION
   - export PATH=/home/travis/anaconda/bin:/home/travis/miniconda3/bin:$PATH

install:
   - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION astropy=$ASTROPY_VERSION pytest
   - pip install pytest-cov coveralls

script:
   - if [[ $SETUP_CMD == test ]]; then cd spectral_cube/tests/data ; make ; cd ../../../ ; fi
   - if [[ $SETUP_CMD == test ]]; then py.test --cov spectral_cube ; fi

after_success:
{'fraction_non_alphanumeric': 0.13679245283018868, 'fraction_numerical': 0.015723270440251572, 'mean_word_length': 3.482394366197183, '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': '5776297', 'n_tokens_mistral': 497, 'n_tokens_neox': 491, 'n_words': 94}