<commit_before>sudo: required

language: python

python:
  - "3.6"

install:
  - python setup.py sdist install

before_script:
  - pip install --upgrade pip
  - pip install codecov
  - pip install coveralls
  - pip install pandas  # for the Indian syllabifier
  - pip install greek-accentuation  # for the phonetic transcriber
  - pip install fuzzywuzzy
  - pip install python-Levenshtein
  - pip install PyArabic  # for Arabic in tokenize/word.py
  - pip install gensim # for word2vec.py

script:
  # Notes on nose:
  # Travis CI pre-installs `nose`
  # https://github.com/coagulant/coveralls-python#nosetests
  # http://nose.readthedocs.org/en/latest/plugins/skip.html
  - nosetests --no-skip --with-coverage --cover-package=cltk --with-doctest

after_success:
  - codecov<commit_msg>Add pypi deploy key for travis<commit_after>sudo: required

language: python

python:
  - "3.6"

install:
  - python setup.py sdist install

before_script:
  - pip install --upgrade pip
  - pip install codecov
  - pip install coveralls
  - pip install pandas  # for the Indian syllabifier
  - pip install greek-accentuation  # for the phonetic transcriber
  - pip install fuzzywuzzy
  - pip install python-Levenshtein
  - pip install PyArabic  # for Arabic in tokenize/word.py
  - pip install gensim # for word2vec.py

script:
  # Notes on nose:
  # Travis CI pre-installs `nose`
  # https://github.com/coagulant/coveralls-python#nosetests
  # http://nose.readthedocs.org/en/latest/plugins/skip.html
  - nosetests --no-skip --with-coverage --cover-package=cltk --with-doctest

after_success:
  - codecov

deploy:
  provider: pypi
  user: "kyle_johnson"
  password: ""
    secure: "<PASSWORD>XFIqNIN2pEN2bm6mhuNJC9vXyZOKUpWdjPrcKoAYSCoCKMa/YuhKowMW9NHHjakbU7T3sJJb15GsAE0JkrQ7dfk5baqA9E9Wgsis++/qJ0LxgRvZAypNxHsl+Ofx9RDJnTi7LGFkVU4QqmYyYDuC7x1NE4jU+4h3M="
  on:
    branch: master
    # tags: true
{'fraction_non_alphanumeric': 0.09458023379383634, 'fraction_numerical': 0.015409139213602551, 'mean_word_length': 3.570388349514563, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '7405783', 'n_tokens_mistral': 755, 'n_tokens_neox': 701, 'n_words': 159}