<commit_before>language: generic
deploy:
  provider: releases
  api_key: "GITHUB OAUTH TOKEN"
  file:
  - cretes-cli.zip
  skip_cleanup: true
  on:
    tags: true
    all_branches: true
sudo: required
dist: trusty
os:
- linux
addons:
  apt:
    packages:
    - gettext
    - libcurl4-openssl-dev
    - libicu-dev
    - libssl-dev
    - libunwind8
    - zlib1g
env:
  matrix:
  - CLI_VERSION=Latest
  global:
  - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
  - DOTNET_CLI_TELEMETRY_OPTOUT: 0
branches:
  only:
  - master
  - dev
before_install:
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- curl -L --create-dirs https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh
  -o ./scripts/obtain/install-dotnet.sh
- find ./scripts -name "*.sh" -exec chmod +x {} \;
- sudo bash ./scripts/obtain/install-dotnet.sh --version "$CLI_VERSION" --install-dir
  "$DOTNET_INSTALL_DIR" --no-path
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
script:
- dotnet restore
- dotnet test ./test/Certes.Tests/project.json
- dotnet pack -c release -o ./build/nuget ./src/Certes/project.json
- dotnet publish -f netcoreapp1.0 -c release -o ./build/cli/bin ./src/Certes.Cli/project.json
- find ./build/cli -path '*/.*' -prune -o -type f -print | zip "$TRAVIS_BUILD_DIR/cretes-cli.zip"
  -@<commit_msg>Remote deploy settings for travis.<commit_after>language: generic
sudo: required
dist: trusty
os:
- linux
addons:
  apt:
    packages:
    - gettext
    - libcurl4-openssl-dev
    - libicu-dev
    - libssl-dev
    - libunwind8
    - zlib1g
env:
  matrix:
  - CLI_VERSION=Latest
  global:
  - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
  - DOTNET_CLI_TELEMETRY_OPTOUT: 0
branches:
  only:
  - master
  - dev
before_install:
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- curl -L --create-dirs https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh
  -o ./scripts/obtain/install-dotnet.sh
- find ./scripts -name "*.sh" -exec chmod +x {} \;
- sudo bash ./scripts/obtain/install-dotnet.sh --version "$CLI_VERSION" --install-dir
  "$DOTNET_INSTALL_DIR" --no-path
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
script:
- dotnet restore
- dotnet test ./test/Certes.Tests/project.json
- dotnet pack -c release -o ./build/nuget ./src/Certes/project.json
- dotnet publish -f netcoreapp1.0 -c release -o ./build/cli/bin ./src/Certes.Cli/project.json

{'fraction_non_alphanumeric': 0.1404399323181049, 'fraction_numerical': 0.007614213197969543, 'mean_word_length': 3.0635738831615122, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3453604', 'n_tokens_mistral': 942, 'n_tokens_neox': 908, 'n_words': 184}