<commit_before>language: rust

rust:
  - beta
  - stable
  - 1.36.0

script: cargo test --all

matrix:
  include:
    - rust: nightly
      env: RUSTFLAGS='--cfg thiserror_nightly_testing'
    - rust: 1.31.0
      script: cargo check
    - rust: nightly
      name: Clippy
      script:
        - rustup component add clippy || travis_terminate 0
        - cargo clippy --all -- -Dclippy::all<commit_msg>Run clippy on latest nightly that has clippy<commit_after>language: rust

rust:
  - beta
  - stable
  - 1.36.0

script: cargo test --all

matrix:
  include:
    - rust: nightly
      env: RUSTFLAGS='--cfg thiserror_nightly_testing'
    - rust: 1.31.0
      script: cargo check
    - name: Clippy
      install:
        - CLIPPY_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/clippy)
        - echo "Latest nightly with Clippy is $CLIPPY_NIGHTLY"
        - rustup set profile minimal
        - rustup default "$CLIPPY_NIGHTLY"
        - rustup component add clippy
      script:
        - cargo clippy --all -- -Dclippy::all
{'fraction_non_alphanumeric': 0.10506912442396313, 'fraction_numerical': 0.01935483870967742, 'mean_word_length': 2.232142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5466996', 'n_tokens_mistral': 383, 'n_tokens_neox': 367, 'n_words': 94}