<commit_before>language: rust
matrix:
    fast_finish: true
    include:
        - rust: nightly
          env: FEATURES="--features nightly"
        - rust: nightly
          env: FEATURES="--features nightly" BENCH=true
        - rust: beta

sudo: false

cache:
    directories:
        - target

script: ./.travis.sh

after_success: |
    [ $TRAVIS_BRANCH = master ] &&
    [ $TRAVIS_PULL_REQUEST = false ] &&
    [ $TRAVIS_RUST_VERSION = beta ] &&
    cargo doc  &&
    echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html &&
    pip install --user ghp-import &&
    /home/travis/.local/bin/ghp-import -n target/doc &&
    git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

env:
    global:
        - secure: <KEY>

notifications:
    email: false
<commit_msg>chore(travis): Enable test coverage generation<commit_after>language: rust
matrix:
    fast_finish: true
    include:
        - rust: nightly
          env: FEATURES="--features nightly"
          sudo: false
        - rust: nightly
          env: FEATURES="--features nightly" BENCH=true
          sudo: false
        - rust: beta
          sudo: true

cache:
    directories:
        - target

script: ./.travis.sh

after_success: |
    [ $TRAVIS_RUST_VERSION = beta ] &&
    sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev &&
    wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
    tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make &&
    sudo make install && cd ../.. &&
    kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/hyper-*
    [ $TRAVIS_BRANCH = master ] &&
    [ $TRAVIS_PULL_REQUEST = false ] &&
    [ $TRAVIS_RUST_VERSION = beta ] &&
    cargo doc  &&
    echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html &&
    pip install --user ghp-import &&
    /home/travis/.local/bin/ghp-import -n target/doc &&
    git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

env:
    global:
        - secure: <KEY>

notifications:
    email: false

{'fraction_non_alphanumeric': 0.13926408942710758, 'fraction_numerical': 0.0013972985561248254, 'mean_word_length': 2.4533762057877815, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 3, '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': '1394621', 'n_tokens_mistral': 753, 'n_tokens_neox': 748, 'n_words': 154}