<commit_before>language: rust
sudo: false

# We aim to test all the following in any combination:
# - standard tests, benches, documentation, all available features
# - pinned stable, latest stable, beta and nightly Rust releases
# - Linux, OS X, Android, iOS, bare metal (i.e. no_std)
# - x86_64, ARMv7, a Big-Endian arch (MIPS)
matrix:
  include:
    - rust: 1.22.0
      install:
      script:
        - cargo test --all --tests --no-default-features
        - cargo test --all --features serde-1,log
    - rust: stable
      os: osx
      install:
      script:
        - cargo test --all --tests --no-default-features
        - cargo test --all --features serde-1,log
    - rust: beta
      install:
      script:
        - cargo test --all --tests --no-default-features
    - rust: nightly
      install:
      before_script:
        - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
      script:
        - cargo test --tests --no-default-features --features=alloc
        - cargo test --all --features=alloc
        - cargo test --all --features serde-1,log,nightly
        - cargo test --benches
        - cargo doc --no-deps --all-features
      after_success:
        - travis-cargo --only nightly doc-upload

    - rust: nightly
      install:
        - rustup target add wasm32-unknown-unknown
        - cargo install --force cargo-web
      script:
        - cargo web test --target wasm32-unknown-unknown --nodejs
    
    # Trust cross-built/emulated targets. We must repeat all non-default values.
    - rust: stable
      sudo: required
      dist: trusty
      services: docker
      env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
    - rust: stable
      sudo: required
      dist: trusty
      services: docker
      env: TARGET=mips-unknown-linux-gnu
    - rust: stable
      sudo: required
      dist: trusty<commit_msg>Travis: do not force reinstallation of cargo-web each time<commit_after>language: rust
sudo: false

# We aim to test all the following in any combination:
# - standard tests, benches, documentation, all available features
# - pinned stable, latest stable, beta and nightly Rust releases
# - Linux, OS X, Android, iOS, bare metal (i.e. no_std)
# - x86_64, ARMv7, a Big-Endian arch (MIPS)
matrix:
  include:
    - rust: 1.22.0
      install:
      script:
        - cargo test --all --tests --no-default-features
        - cargo test --all --features serde-1,log
    - rust: stable
      os: osx
      install:
      script:
        - cargo test --all --tests --no-default-features
        - cargo test --all --features serde-1,log
    - rust: beta
      install:
      script:
        - cargo test --all --tests --no-default-features
    - rust: nightly
      install:
      before_script:
        - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
      script:
        - cargo test --tests --no-default-features --features=alloc
        - cargo test --all --features=alloc
        - cargo test --all --features serde-1,log,nightly
        - cargo test --benches
        - cargo doc --no-deps --all-features
      after_success:
        - travis-cargo --only nightly doc-upload

    - rust: nightly
      install:
        - rustup target add wasm32-unknown-unknown
        # This did use --force to force updating, but that causes lots of
        # wasted CPU time (including timeouts sometimes).
        # Cargo *should* have a --update option.
        - cargo install cargo-web || true
      script:
        - cargo web test --target wasm32-unknown-unknown --nodejs
    
    # Trust cross-built/emulated targets. We must repeat all non-default values.
    - rust: stable
      sudo: required
      dist: trusty
      services: docker
      env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
    - rust: stable
      sudo: required
      dist: trusty
      services: docker
      env: TARGET=mips-unknown-linux-gnu
    - rust: stable
      sudo: required
      dist: trusty
{'fraction_non_alphanumeric': 0.10513078470824949, 'fraction_numerical': 0.011569416498993963, 'mean_word_length': 1.9723467862481316, 'pattern_counts': {'":': 0, '<': 5, '<?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': '702277', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1170, 'n_words': 385}