<commit_before>language: rust

sudo: false

cache: cargo

rust:
  - stable
  - beta
  - nightly

branches:
  only:
    - master

before_script:
  - cargo install mdbook
  - export PATH="$HOME/.cargo/bin:$PATH"
  - |
      pip install 'travis-cargo<0.2' --user &&
      export PATH=$HOME/.local/bin:$PATH

os:
  - linux

script:
  - |
      cd wayland-sys &&
      travis-cargo test -- --features "dlopen egl client server cursor" &&
      travis-cargo --only nightly doc -- --no-deps --features "dlopen egl client server cursor" &&<commit_msg>travis: don't fail if mdbook is already isntalled<commit_after>language: rust

sudo: false

cache: cargo

rust:
  - stable
  - beta
  - nightly

branches:
  only:
    - master

before_script:
  - cargo install mdbook || true
  - export PATH="$HOME/.cargo/bin:$PATH"
  - |
      pip install 'travis-cargo<0.2' --user &&
      export PATH=$HOME/.local/bin:$PATH

os:
  - linux

script:
  - |
      cd wayland-sys &&
      travis-cargo test -- --features "dlopen egl client server cursor" &&
      travis-cargo --only nightly doc -- --no-deps --features "dlopen egl client server cursor" &&
{'fraction_non_alphanumeric': 0.13451327433628318, 'fraction_numerical': 0.0035398230088495575, 'mean_word_length': 2.448170731707317, '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': '2580596', 'n_tokens_mistral': 408, 'n_tokens_neox': 398, 'n_words': 106}