<commit_before>sudo: required
dist: trusty
language: node_js
branches:
  only:
  - master
  - /^release.*/
cache:
    yarn: true
    directories:
        - node_modules
matrix:
  include:
  - os: linux
    sudo: required
    dist: trusty
    node_js: 8
  - os: osx
    node_js: 8
addons:
  apt:
    packages:
    - libxkbfile-dev
    - libgnome-keyring-dev
    - icnsutils
    - graphicsmagick
    - xz-utils
    - rpm
    - bsdtar
install:
- npm install -g yarn
- yarn install
script:
- ./build/script/travis-build.sh
after_success:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/coveralls < .nyc_output/lcov.info; fi
deploy:
    - provider: s3
      access_key_id: AKIAIYMATI2CEFTHPBOQ
      secret_access_key:
        secure: <KEY>
      bucket: oni-media
      local-dir: dist/media
      acl: public_read
      region: us-west-2
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = osx
        repo: onivim/oni
    - provider: s3
      access_key_id: AKIAIYMATI2CEFTHPBOQ
      secret_access_key:
        secure: <KEY>
      bucket: oni-builds
      files:
        - dist/*.dmg
        - dist/*.zip
      upload-dir: osx_builds
      acl: public_read
      region: us-west-2
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = osx
        repo: onivim/oni
    - provider: releases
      api_key:
        secure: <KEY>
      file_glob: true
      file:
        - dist/*.dmg
        - dist/*.zip
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = osx
        tags: true
        repo: onivim/oni
    - provider: releases
      api_key:
        secure: <KEY>
      file_glob: true
      file:
          - dist/*.deb
          - dist/*.rpm
          - dist/*.tar.gz
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = linux
        tags: true
        repo: onivim/oni
<commit_msg>Fix 'file' section in travis.yml (#1472)<commit_after>sudo: required
dist: trusty
language: node_js
branches:
  only:
  - master
  - /^release.*/
cache:
    yarn: true
    directories:
        - node_modules
matrix:
  include:
  - os: linux
    sudo: required
    dist: trusty
    node_js: 8
  - os: osx
    node_js: 8
addons:
  apt:
    packages:
    - libxkbfile-dev
    - libgnome-keyring-dev
    - icnsutils
    - graphicsmagick
    - xz-utils
    - rpm
    - bsdtar
install:
- npm install -g yarn
- yarn install
script:
- ./build/script/travis-build.sh
after_success:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/coveralls < .nyc_output/lcov.info; fi
deploy:
    - provider: s3
      access_key_id: AKIAIYMATI2CEFTHPBOQ
      secret_access_key:
        secure: <KEY>
      bucket: oni-media
      local-dir: dist/media
      acl: public_read
      region: us-west-2
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = osx
        repo: onivim/oni
    - provider: s3
      access_key_id: AKIAIYMATI2CEFTHPBOQ
      secret_access_key:
        secure: <KEY>
      bucket: oni-builds
      file:
        - dist/*.dmg
        - dist/*.zip
      upload-dir: osx_builds
      acl: public_read
      region: us-west-2
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = osx
        repo: onivim/oni
    - provider: releases
      api_key:
        secure: <KEY>
      file_glob: true
      file:
        - dist/*.dmg
        - dist/*.zip
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = osx
        tags: true
        repo: onivim/oni
    - provider: releases
      api_key:
        secure: <KEY>
      file_glob: true
      file:
          - dist/*.deb
          - dist/*.rpm
          - dist/*.tar.gz
      skip_cleanup: true
      on:
        condition: $TRAVIS_OS_NAME = linux
        tags: true
        repo: onivim/oni

{'fraction_non_alphanumeric': 0.09936575052854123, 'fraction_numerical': 0.005285412262156448, 'mean_word_length': 1.7328519855595668, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '852710', 'n_tokens_mistral': 1392, 'n_tokens_neox': 1352, 'n_words': 299}