<commit_before>language: python
sudo: false

python:
- '2.7'
- '3.4'
- '3.5'
- '3.6-dev'
- 'nightly'

matrix:
  allow_failures:
  - python: 'nightly'

install:
- pip install coverage flake8

script:
- coverage run --source=pydf setup.py test
- flake8 --max-line-length 120 pydf/
- python setup.py install
- tests/check_file_permissions.py

after_success:
- ls -lha
- bash <(curl -s https://codecov.io/bash)

deploy:
  provider: pypi
  user: samuelcolvin
  password:
    secure: "<KEY>
  distributions: sdist bdist_wheel
  on:
    tags: true
    python: 3.5<commit_msg>adding version print to travis<commit_after>language: python
sudo: false

python:
- '2.7'
- '3.4'
- '3.5'
- '3.6-dev'
- 'nightly'

matrix:
  allow_failures:
  - python: 'nightly'

install:
- pip install coverage flake8

script:
- coverage run --source=pydf setup.py test
- flake8 --max-line-length 120 pydf/
- python setup.py install
- tests/check_file_permissions.py
- python -c "import pydf; print(pydf.get_version())"

after_success:
- ls -lha
- bash <(curl -s https://codecov.io/bash)

deploy:
  provider: pypi
  user: samuelcolvin
  password:
    secure: "<KEY>
  distributions: sdist bdist_wheel
  on:
    tags: true
    python: 3.5
{'fraction_non_alphanumeric': 0.13598673300165837, 'fraction_numerical': 0.024875621890547265, 'mean_word_length': 3.2202797202797204, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5026477', 'n_tokens_mistral': 495, 'n_tokens_neox': 471, 'n_words': 120}