<commit_before>sudo: required
dist: trusty
language: rust
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libelf-dev
    - libdw-dev

deploy:
  provider: releases
  api_key:
    secure: <KEY>
  file: fireplace/target/release/fireplace
  skip_cleanup: true
  on:
    tags: true
    repo: Drakulix/fireplace

env:
  global:
    secure: <KEY>

before_script:
- 'echo ubuntu-mirror: http://mirrors.us.kernel.org/ubuntu/ > ~/.vagga.yaml'
- 'echo alpine-mirror: http://mirrors.gigenet.com/alpinelinux/ >> ~/.vagga.yaml'
- |
  echo "$(id -un):100000:65536" | sudo tee /etc/subuid | sudo tee /etc/subgid
  sudo apt-get install uidmap -y
  curl http://files.zerogw.com/vagga/vagga-install-testing.sh | sh

script:
- vagga check-fmt
- vagga clippy
- vagga build
- vagga doc

after_success:
- vagga --use-env=GH_TOKEN doc_upload<commit_msg>Fix release upload from travis<commit_after>sudo: required
dist: trusty
language: rust
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libelf-dev
    - libdw-dev

deploy:
  provider: releases
  api_key:
    secure: <KEY>
  file: target/release/fireplace
  skip_cleanup: true
  on:
    tags: true
    repo: Drakulix/fireplace

env:
  global:
    secure: <KEY>

before_script:
- 'echo ubuntu-mirror: http://mirrors.us.kernel.org/ubuntu/ > ~/.vagga.yaml'
- 'echo alpine-mirror: http://mirrors.gigenet.com/alpinelinux/ >> ~/.vagga.yaml'
- |
  echo "$(id -un):100000:65536" | sudo tee /etc/subuid | sudo tee /etc/subgid
  sudo apt-get install uidmap -y
  curl http://files.zerogw.com/vagga/vagga-install-testing.sh | sh

script:
- vagga check-fmt
- vagga clippy
- vagga build
- vagga doc

after_success:
- vagga --use-env=GH_TOKEN doc_upload
{'fraction_non_alphanumeric': 0.1340815121086828, 'fraction_numerical': 0.014176018901358535, 'mean_word_length': 3.131707317073171, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '4384448', 'n_tokens_mistral': 701, 'n_tokens_neox': 651, 'n_words': 143}