<commit_before>language: rust
sudo: false
rust:
- stable
- beta
- nightly
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libelf-dev
    - libdw-dev
    - make
    - automake
    - gcc
    - build-essential
    - g++
    - cpp
    - libc6-dev
    - man-db
    - autoconf
    - pkg-config
    - libtool
    - git
before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH &&
  export LIBRARY_PATH=$HOME/lib &&
  export LD_LIBRARY_PATH=$HOME/lib &&
  export PKG_CONFIG_PATH=$HOME/lib/pkgconfig &&
  wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.8.tar.gz &&
  wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.8.tar.gz.sig &&
  wget https://download.libsodium.org/jedi.gpg.asc &&
  gpg --import jedi.gpg.asc &&
  gpg --verify libsodium-1.0.8.tar.gz.sig libsodium-1.0.8.tar.gz &&
  tar zxf libsodium-1.0.8.tar.gz &&
  cd libsodium-1.0.8 &&
  ./configure --prefix=$HOME && make && make install &&
  cd .. &&
  wget https://github.com/zeromq/zeromq4-1/archive/v4.1.4.tar.gz &&
  tar zxf v4.1.4.tar.gz &&
  cd zeromq4-1-4.1.4 &&
  ./autogen.sh && ./configure --prefix=$HOME --with-libsodium && make && make install &&
  cd ..
script:
- travis-cargo --skip nightly build
- travis-cargo --only nightly build -- --features unstable
- travis-cargo --skip nightly test
- travis-cargo --only nightly test -- --features unstable-testing
- travis-cargo --skip nightly bench
- travis-cargo --only nightly bench -- --features unstable-testing
- travis-cargo build -- --example helloworld_client
- travis-cargo build -- --example helloworld_server
- travis-cargo build -- --example msgsend
- travis-cargo build -- --example msreader<commit_msg>Try to work around travis failure<commit_after>language: rust
sudo: false
rust:
- stable
- beta
- nightly
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libelf-dev
    - libdw-dev
    - make
    - automake
    - gcc
    - build-essential
    - g++
    - cpp
    - libc6-dev
    - man-db
    - autoconf
    - pkg-config
    - libtool
    - git
before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH &&
  export LIBRARY_PATH=$HOME/lib &&
  export LD_LIBRARY_PATH=$HOME/lib &&
  export PKG_CONFIG_PATH=$HOME/lib/pkgconfig &&
  git clone https://github.com/jedisct1/libsodium.git &&
  cd libsodium &&
  git checkout 1.0.11 &&
  ./autogen.sh &&
  ./configure --prefix=$HOME && make && make install &&
  cd .. &&
  wget https://github.com/zeromq/zeromq4-1/archive/v4.1.4.tar.gz &&
  tar zxf v4.1.4.tar.gz &&
  cd zeromq4-1-4.1.4 &&
  ./autogen.sh && ./configure --prefix=$HOME --with-libsodium && make && make install &&
  cd ..
script:
- travis-cargo --skip nightly build
- travis-cargo --only nightly build -- --features unstable
- travis-cargo --skip nightly test
- travis-cargo --only nightly test -- --features unstable-testing
- travis-cargo --skip nightly bench
- travis-cargo --only nightly bench -- --features unstable-testing
- travis-cargo build -- --example helloworld_client
- travis-cargo build -- --example helloworld_server
- travis-cargo build -- --example msgsend
- travis-cargo build -- --example msreader
{'fraction_non_alphanumeric': 0.1556736480150047, 'fraction_numerical': 0.017818068146295718, 'mean_word_length': 2.508771929824561, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4346540', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1170, 'n_words': 245}