<commit_before>language: rust
cache: cargo
rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

env:
  - TEST_DIR=amqp0/specs
  - TEST_DIR=amqp0/primitives
  - TEST_DIR=amqp0/parser-nom
  # Generation crates
  - TEST_DIR=amqp0/specgen
  - TEST_DIR=amqp0/codegen
  # Build
  - TEST_DIR=amqp0/specs FEATURES='amqp-build-specs"
  - TEST_DIR=amqp0/primitives FEATURES='amqp-build-primitives"
  - TEST_DIR=amqp0/parser-nom FEATURES='amqp-build-parser"
  # Pregen
  - TEST_DIR=amqp0/primitives FEATURES='amqp-pregen-primitives"
  - TEST_DIR=amqp0/parser-nom FEATURES='amqp-pregen-parser"

script: cd $TEST_DIR && cargo test --features=" $FEATURES"<commit_msg>[amqp] Correct the feature flags used for TravisCI builds<commit_after>language: rust
cache: cargo
rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

env:
  - TEST_DIR=amqp0/specs
  - TEST_DIR=amqp0/primitives
  - TEST_DIR=amqp0/parser-nom
  # Generation crates
  - TEST_DIR=amqp0/specgen
  - TEST_DIR=amqp0/codegen
  # Build
  - TEST_DIR=amqp0/specs FEATURES='amqp0-build-specs"
  - TEST_DIR=amqp0/primitives FEATURES='amqp0-build-primitives"
  - TEST_DIR=amqp0/parser-nom FEATURES='amqp0-build-parser"
  # Pregen
  - TEST_DIR=amqp0/primitives FEATURES='amqp0-pregen-primitives"
  - TEST_DIR=amqp0/parser-nom FEATURES='amqp0-pregen-parser"

script: cd $TEST_DIR && cargo test --features=" $FEATURES"
{'fraction_non_alphanumeric': 0.12104152005629838, 'fraction_numerical': 0.017593244194229415, 'mean_word_length': 4.06049822064057, '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': '2696879', 'n_tokens_mistral': 594, 'n_tokens_neox': 578, 'n_words': 85}