<commit_before>language: rust

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

branches:
  except:
    - dev

os:
  - linux
  - osx<commit_msg>Add doc building to travis<commit_after>language: rust

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

branches:
  except:
    - dev

os:
  - linux
  - osx

script:
  - cargo build --verbose
  - cargo test --verbose
  - cd crate && cargo doc --no-deps

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

notifications:
  email:
    on_success: never
{'fraction_non_alphanumeric': 0.13186813186813187, 'fraction_numerical': 0.001098901098901099, 'mean_word_length': 2.811715481171548, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '3453720', 'n_tokens_mistral': 353, 'n_tokens_neox': 349, 'n_words': 76}