<commit_before>language: python
python: [2.7, 3.4, 3.5, 3.6]
env:
- FIXTURE_PATH=/tmp/schema_fixture/
install:
- pip install tox-travis
- mkdir "$HOME/bin"
- curl -o "$HOME/bin/nirum" https://nightly-builds.nirum.org/travis-builds/nirum-linux-x86_64
- chmod +x "$HOME/bin/nirum"
script:
- tox -e buildfixture
- tox
- tox -e docs
- '[[ "$TRAVIS_TAG" = "" ]] || [[ "$TRAVIS_TAG" = "$(python setup.py --version)" ]]'
- |
    if git show --format=%B --quiet "$TRAVIS_COMMIT_RANGE$TRAVIS_TAG" | grep '\[changelog skip\]' > /dev/null; then
      echo "Skip changelog checker..."
    elif [[ "$TRAVIS_TAG" != "" ]]; then
      ! grep -i "to be released" README.rst
    else
      [[ "$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep CHANGES\.rst)" != "" ]]
    fi
<commit_msg>Skip if ~/bin already exists<commit_after>language: python
python: [2.7, 3.4, 3.5, 3.6]
env:
- FIXTURE_PATH=/tmp/schema_fixture/
install:
- pip install tox-travis
- mkdir -p "$HOME/bin"
- curl -o "$HOME/bin/nirum" https://nightly-builds.nirum.org/travis-builds/nirum-linux-x86_64
- chmod +x "$HOME/bin/nirum"
script:
- tox -e buildfixture
- tox
- tox -e docs
- '[[ "$TRAVIS_TAG" = "" ]] || [[ "$TRAVIS_TAG" = "$(python setup.py --version)" ]]'
- |
    if git show --format=%B --quiet "$TRAVIS_COMMIT_RANGE$TRAVIS_TAG" | grep '\[changelog skip\]' > /dev/null; then
      echo "Skip changelog checker..."
    elif [[ "$TRAVIS_TAG" != "" ]]; then
      ! grep -i "to be released" README.rst
    else
      [[ "$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep CHANGES\.rst)" != "" ]]
    fi

{'fraction_non_alphanumeric': 0.2026854219948849, 'fraction_numerical': 0.015345268542199489, 'mean_word_length': 3.0544041450777204, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6131193', 'n_tokens_mistral': 673, 'n_tokens_neox': 638, 'n_words': 139}