<commit_before>sudo: false
language: rust
cache: cargo

addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - binutils-dev
      - cmake
    sources:
      - kalakris-cmake

rust:
  - nightly
  - beta
  - stable

before_script:
  - |
      which cargo-coveralls || cargo install cargo-travis &&
      export PATH=$HOME/.cargo/bin:$PATH

script:
  - cargo fmt -- --check
  - cargo test
  - cargo test --features serde
  - cargo test --features postgres
  - cargo test --features diesel

after_success:
  - cargo coveralls

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""<commit_msg>Add rustfmt for Travis<commit_after>sudo: false
language: rust
cache: cargo

addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - binutils-dev
      - cmake
    sources:
      - kalakris-cmake

rust:
  - nightly
  - beta
  - stable

before_script:
  - |
      rustup component add rustfmt &&
      which cargo-coveralls || cargo install cargo-travis &&
      export PATH=$HOME/.cargo/bin:$PATH

script:
  - cargo fmt -- --check
  - cargo test
  - cargo test --features serde
  - cargo test --features postgres
  - cargo test --features diesel

after_success:
  - cargo coveralls

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""
{'fraction_non_alphanumeric': 0.1017463933181473, 'fraction_numerical': 0.0015186028853454822, 'mean_word_length': 2.175903614457831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3978179', 'n_tokens_mistral': 461, 'n_tokens_neox': 447, 'n_words': 110}