<commit_before>language: node_js
sudo: required
dist: trusty

git:
  # set a custom clone depth, so contributor data does not get lost
  # running "git fetch --unshallow" in before_install is also an option
  depth: 9999999

node_js:
  - "6"

cache:
  apt: true
  directories:
    - "node_modules"
    - "bower_components"
    - "build/cache"

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "npm config set spin false"
  - "npm install -g bower grunt-cli"

install:
  - "npm install"

script:
  # test and build
  - "grunt build:prod"

before_deploy:
  # travis "ubuntu trusty" workaround for wine
  # wine is only needed for compiling the application (nw-builder)
  - "sudo dpkg --add-architecture i386"
  - "sudo apt-get update -qq"
  - "sudo apt-get install -y wine > /dev/null"
  # compile the application and package it
  # do everything the "dist" grunt task does, but don't build twice
  - "grunt clean:dist compile:all compress checksum:all"

deploy:
  - provider: releases
    api_key:
      secure: "<KEY>
    file: "dist/*"
    file_glob: true
    skip_cleanup: true
    on:
      tags: true

notifications:
  email: false
  webhooks:
    urls:
      - secure: "<KEY>
    on_success: change
    on_failure: always
    on_start: never<commit_msg>Move encrypted travis data to env vars<commit_after>language: node_js
sudo: required
dist: trusty

git:
  # set a custom clone depth, so contributor data does not get lost
  # running "git fetch --unshallow" in before_install is also an option
  depth: 9999999

node_js:
  - "6"

cache:
  apt: true
  directories:
    - "node_modules"
    - "bower_components"
    - "build/cache"

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "npm config set spin false"
  - "npm install -g bower grunt-cli"

install:
  - "npm install"

script:
  # test and build
  - "grunt build:prod"

before_deploy:
  # travis "ubuntu trusty" workaround for wine
  # wine is only needed for compiling the application (nw-builder)
  - "sudo dpkg --add-architecture i386"
  - "sudo apt-get update -qq"
  - "sudo apt-get install -y wine > /dev/null"
  # compile the application and package it
  # do everything the "dist" grunt task does, but don't build twice
  - "grunt clean:dist compile:all compress checksum:all"

deploy:
  - provider: releases
    api_key: "${RELEASES_API_KEY}"
    file: "dist/*"
    file_glob: true
    skip_cleanup: true
    on:
      tags: true

notifications:
  email: false
  webhooks:
    urls:
      - "${WEBHOOK_GITTER}"
    on_success: change
    on_failure: always
    on_start: never
{'fraction_non_alphanumeric': 0.10256410256410256, 'fraction_numerical': 0.010715652506697282, 'mean_word_length': 2.9666160849772383, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '4683815', 'n_tokens_mistral': 950, 'n_tokens_neox': 902, 'n_words': 295}