<commit_before>language: python

python:
  - "2.7.13"

git:
  depth: 10

branches:
  only:
  - master
  - /^[0-9.]+-releases$/
  - /.*-test-travis$/

matrix:
  include:
    - os: linux
      dist: trusty
      env: NODE_VERSION=8.9.3 DISPLAY=:99.0 CC=clang CXX=clang++ npm_config_clang=1 ATOM_JASMINE_REPORTER=list

sudo: required

before_install:
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"

install:
  - git clone https://github.com/creationix/nvm.git /tmp/.nvm
  - source /tmp/.nvm/nvm.sh
  - nvm install $NODE_VERSION
  - nvm use --delete-prefix $NODE_VERSION
  - npm install --global npm@6.2.0
  - script/bootstrap

script: >
  script/lint &&
  script/build --no-bootstrap --create-debian-package --create-rpm-package --compress-artifacts &&
  script/test

cache:
  directories:
    - electron
    - node_modules
    - apm/node_modules
    - script/node_modules<commit_msg>Remove sudo settings from .travis.yml<commit_after>language: python

python:
  - "2.7.13"

git:
  depth: 10

branches:
  only:
  - master
  - /^[0-9.]+-releases$/
  - /.*-test-travis$/

matrix:
  include:
    - os: linux
      dist: trusty
      env: NODE_VERSION=8.9.3 DISPLAY=:99.0 CC=clang CXX=clang++ npm_config_clang=1 ATOM_JASMINE_REPORTER=list

before_install:
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"

install:
  - git clone https://github.com/creationix/nvm.git /tmp/.nvm
  - source /tmp/.nvm/nvm.sh
  - nvm install $NODE_VERSION
  - nvm use --delete-prefix $NODE_VERSION
  - npm install --global npm@6.2.0
  - script/bootstrap

script: >
  script/lint &&
  script/build --no-bootstrap --create-debian-package --create-rpm-package --compress-artifacts &&
  script/test

cache:
  directories:
    - electron
    - node_modules
    - apm/node_modules
    - script/node_modules
{'fraction_non_alphanumeric': 0.14935064935064934, 'fraction_numerical': 0.03296703296703297, 'mean_word_length': 2.681985294117647, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6734757', 'n_tokens_mistral': 825, 'n_tokens_neox': 766, 'n_words': 151}