<commit_before>language: python

sudo: false

python:
  - "2.7"
  - "3.4"

install:
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION nose numpy matplotlib bokeh pandas scipy jupyter ipython param freetype=2.5.2 holoviews
  - source activate test-environment
  - if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
      conda install python=3.4.3;
    fi
  - pip install coveralls
  - conda install -c scitools iris
  - python setup.py install

script:
  - nosetests --with-doctest --with-coverage

after_success: coveralls<commit_msg>Enabled Python 3.5 builds<commit_after>language: python

sudo: false

python:
  - "2.7"
  - "3.4"
  - "3.5"

install:
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION nose numpy matplotlib bokeh pandas scipy jupyter ipython param freetype=2.5.2 holoviews
  - source activate test-environment
  - if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
      conda install python=3.4.3;
    fi
  - pip install coveralls
  - conda install -c scitools iris
  - python setup.py install

script:
  - nosetests --with-doctest --with-coverage

after_success: coveralls
{'fraction_non_alphanumeric': 0.12035315985130111, 'fraction_numerical': 0.024163568773234202, 'mean_word_length': 3.0242990654205606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2163074', 'n_tokens_mistral': 843, 'n_tokens_neox': 817, 'n_words': 199}