<commit_before>language: rust
rust: stable
sudo: required
dist: trusty

git:
  depth: 1

matrix:
  include:
    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu

    - env: TARGET=x86_64-apple-darwin
           ALT=i686-apple-darwin
      os: osx
      osx_image: xcode9.2
      if: branch != master OR type = pull_request

    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      rust: beta
      if: branch != master OR type = pull_request

    # Minimum Rust supported channel. We enable these to make sure we
    # continue to work on the advertised minimum Rust version.
    # However cargo only supports the latest stable so this will get
    # increased every 6 weeks or so when the first PR to use a new feature.
    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      rust: 1.31.0
      script:
        - rustup toolchain install nightly || travis_terminate 1
        - cargo +nightly generate-lockfile -Z minimal-versions || travis_terminate 1
        - cargo -V || travis_terminate 1
        - cargo test --features=deny-warnings || travis_terminate 1
      if: branch != master OR type = pull_request

    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      rust: nightly
      install:
        - travis_retry curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.7/mdbook-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
      script:
        - cargo test --features=deny-warnings || travis_terminate 1
        - cargo doc --no-deps || travis_terminate 1
        - (cd src/doc && mdbook build --dest-dir ../../target/doc) || travis_terminate 1
      if: branch != master OR type = pull_request

  exclude:
    - rust: stable

before_script:
  - rustup target add $ALT
script:
  - cargo test --features=deny-warnings

notifications:
  email:
    on_success: never

addons:
  apt:
    packages:
      - gcc-multilib
<commit_msg>Auto merge of #6562 - ehuss:travis-no-master, r=dwijnand<commit_after>language: rust
rust: stable
sudo: required
dist: trusty

git:
  depth: 1

matrix:
  include:
    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      if: branch != master OR type = pull_request

    - env: TARGET=x86_64-apple-darwin
           ALT=i686-apple-darwin
      os: osx
      osx_image: xcode9.2
      if: branch != master OR type = pull_request

    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      rust: beta
      if: branch != master OR type = pull_request

    # Minimum Rust supported channel. We enable these to make sure we
    # continue to work on the advertised minimum Rust version.
    # However cargo only supports the latest stable so this will get
    # increased every 6 weeks or so when the first PR to use a new feature.
    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      rust: 1.31.0
      script:
        - rustup toolchain install nightly || travis_terminate 1
        - cargo +nightly generate-lockfile -Z minimal-versions || travis_terminate 1
        - cargo -V || travis_terminate 1
        - cargo test --features=deny-warnings || travis_terminate 1
      if: branch != master OR type = pull_request

    - env: TARGET=x86_64-unknown-linux-gnu
           ALT=i686-unknown-linux-gnu
      rust: nightly
      install:
        - travis_retry curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.7/mdbook-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
      script:
        - cargo test --features=deny-warnings || travis_terminate 1
        - cargo doc --no-deps || travis_terminate 1
        - (cd src/doc && mdbook build --dest-dir ../../target/doc) || travis_terminate 1
      if: branch != master OR type = pull_request

  exclude:
    - rust: stable

before_script:
  - rustup target add $ALT
script:
  - cargo test --features=deny-warnings

notifications:
  email:
    on_success: never

addons:
  apt:
    packages:
      - gcc-multilib

{'fraction_non_alphanumeric': 0.09944079747143204, 'fraction_numerical': 0.030148310235837587, 'mean_word_length': 2.4, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7001918', 'n_tokens_mistral': 1438, 'n_tokens_neox': 1325, 'n_words': 367}