<commit_before>language: python
sudo: false
matrix:
    include:
    - python: "3.5"
      env: DEPS="numpy scipy nose cython"
    - python: "3.4"
      env: DEPS="numpy scipy nose cython"
    - python: "3.3"
      env: DEPS="numpy scipy nose cython"
    - python: "2.7"
      env: DEPS="numpy scipy nose cython"

install: 
    - wget http://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh -O miniconda.sh
    - chmod +x miniconda.sh
    - ./miniconda.sh -b
    - export PATH=/home/travis/miniconda${TRAVIS_PYTHON_VERSION:0:1}/bin:$PATH
    # See: https://groups.google.com/a/continuum.io/forum/#!topic/conda/RSFENqovnro
    - conda update --yes --no-deps conda
    - conda config --set always_yes yes --set changeps1 no
    # Learned the hard way: miniconda is not always up-to-date with conda.
    - conda update --yes conda
    - conda install --yes -c conda conda-env
    - conda install --yes $DEPS pip python=${TRAVIS_PYTHON_VERSION}
    - pip install coveralls
    - python setup.py install
    - cd ~/
    - pwd

script: 
    - python  -c "import abel.tests; abel.tests.run_cli(coverage=True)"

#after_success:
#    coveralls
<commit_msg>set up travis CI to automatically deploy releases to PyPi<commit_after>language: python
sudo: false
matrix:
  include:
  - python: '3.5'
    env: DEPS="numpy scipy nose cython"
  - python: '3.4'
    env: DEPS="numpy scipy nose cython"
  - python: '3.3'
    env: DEPS="numpy scipy nose cython"
  - python: '2.7'
    env: DEPS="numpy scipy nose cython"
install:
- wget http://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
  -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda${TRAVIS_PYTHON_VERSION:0:1}/bin:$PATH
- conda update --yes --no-deps conda
- conda config --set always_yes yes --set changeps1 no
- conda update --yes conda
- conda install --yes -c conda conda-env
- conda install --yes $DEPS pip python=${TRAVIS_PYTHON_VERSION}
- pip install coveralls
- python setup.py install
- cd ~/
- pwd
script:
- python  -c "import abel.tests; abel.tests.run_cli(coverage=True)"
deploy:
  provider: pypi
  user: DanHickstein
  on:
    tags: true
  password:
    secure: <KEY>
{'fraction_non_alphanumeric': 0.1303960836671117, 'fraction_numerical': 0.015131286159323543, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '3889076', 'n_tokens_mistral': 885, 'n_tokens_neox': 866, 'n_words': 213}