<commit_before>language: python
sudo: false
python:
  - "2.7"
  - "3.3"
  - "3.4"
install:
  # - sudo apt-get update
  # You may want to periodically update this, although the conda update
  # conda line below will keep everything up-to-date.  We do this
  # conditionally because it saves us some downloading if the version is
  # the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget http://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
  - conda info -a
  # Create the environment.
  - conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION
  - source activate testenv
  # Optional dependencies.
  # TODO: IPython 2 env as well
  - conda install pip tornado ipython
  # Testing dependencies.
  - conda install pytest flake8 coverage
  - pip install coveralls
  - pip install python-coveralls
  - pip install pytest-cov
  # Install phy.
  - python setup.py install
script:
  - make test
after_success:
  - coveralls
<commit_msg>Fixing travis.<commit_after>language: python
sudo: false
python:
  - "2.7"
  - "3.3"
  - "3.4"
install:
  # - sudo apt-get update
  # You may want to periodically update this, although the conda update
  # conda line below will keep everything up-to-date.  We do this
  # conditionally because it saves us some downloading if the version is
  # the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget http://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
  - conda info -a
  # Create the environment.
  - conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION
  - source activate testenv
  # Optional dependencies.
  # TODO: IPython 2 env as well
  - conda install pip ipython-notebook
  # Testing dependencies.
  - conda install pytest flake8 coverage
  - pip install coveralls
  - pip install python-coveralls
  - pip install pytest-cov
  # Install phy.
  - python setup.py install
script:
  - make test
after_success:
  - coveralls

{'fraction_non_alphanumeric': 0.10070257611241218, 'fraction_numerical': 0.0156128024980484, 'mean_word_length': 2.9129770992366413, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5651403', 'n_tokens_mistral': 919, 'n_tokens_neox': 889, 'n_words': 270}