<commit_before>language: rust

before_install:
  - sudo apt-add-repository --yes ppa:zoogie/sdl2-snapshots
  - sudo apt-get update -qq

install:
  - wget http://download.nanomsg.org/nanomsg-0.5-beta.tar.gz
  - tar -xvzf nanomsg-0.5-beta.tar.gz
  - cd nanomsg-0.5-beta && ./configure && make && sudo make install
  - sudo ldconfig
  - cd -
  - sudo apt-get install -qq libportaudio-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev opencl-headers fglrx

script:
  - ls
  - cd client && cargo test --verbose
  - cd -
  - cd server && cargo test --verbose
  - cd -<commit_msg>Add device folder to travis build.<commit_after>language: rust

before_install:
  - sudo apt-add-repository --yes ppa:zoogie/sdl2-snapshots
  - sudo apt-get update -qq

install:
  - wget http://download.nanomsg.org/nanomsg-0.5-beta.tar.gz
  - tar -xvzf nanomsg-0.5-beta.tar.gz
  - cd nanomsg-0.5-beta && ./configure && make && sudo make install
  - sudo ldconfig
  - cd -
  - sudo apt-get install -qq libportaudio-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev opencl-headers fglrx

script:
  - cd device && cargo build --verbose
  - cd -
  - cd client && cargo test --verbose
  - cd -
  - cd server && cargo test --verbose
  - cd -
{'fraction_non_alphanumeric': 0.13327814569536423, 'fraction_numerical': 0.016556291390728478, 'mean_word_length': 2.5875370919881306, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2034836', 'n_tokens_mistral': 473, 'n_tokens_neox': 453, 'n_words': 112}