<commit_before>language: rust
rust:
    - nightly

os:
    - linux
    - osx

before_install:
    npm install --save-dev travis-after-all

script:
    cargo test

after_success:
    - |
        declare exitCode;
        $(npm bin)/travis-after-all
        exitCode=$?
        [ $exitCode -eq 0 ] &&
        [ $TRAVIS_BRANCH = master ] &&
        [ $TRAVIS_PULL_REQUEST = false ] &&
        cargo doc &&
        echo "<meta http-equiv=refresh content=0;url=store/index.html>" > target/doc/index.html &&
        sudo pip install ghp-import &&
        ghp-import -n target/doc &&
        git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages<commit_msg>misc: Add clippy to travis builds<commit_after>language: rust
rust:
    - nightly

os:
    - linux
    - osx

before_install:
    npm install --save-dev travis-after-all

script:
    cargo test --features clippy

after_success:
    - |
        declare exitCode;
        $(npm bin)/travis-after-all
        exitCode=$?
        [ $exitCode -eq 0 ] &&
        [ $TRAVIS_BRANCH = master ] &&
        [ $TRAVIS_PULL_REQUEST = false ] &&
        cargo doc &&
        echo "<meta http-equiv=refresh content=0;url=store/index.html>" > target/doc/index.html &&
        sudo pip install ghp-import &&
        ghp-import -n target/doc &&
        git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
{'fraction_non_alphanumeric': 0.13078034682080925, 'fraction_numerical': 0.002890173410404624, 'mean_word_length': 2.176605504587156, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3649913', 'n_tokens_mistral': 482, 'n_tokens_neox': 476, 'n_words': 100}