<commit_before>language: node_js
node_js: "10"

sudo: required

services:
  - xvfb

install: true  # yarn bug

addons:
  apt:
    packages:
      - google-chrome-stable	

os:
  - linux
#  - osx

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated xctool || brew upgrade xctool; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi  # Karma CI
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install google-chrome; fi  # Karma CI
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi

before_script:
  - npm uninstall @angular/tsc-wrapped
  - npm i @angular/common@6  @angular/compiler@6 @angular/core@6 @angular/forms@6 @angular/platform-browser@6 @angular/platform-browser-dynamic@6 rxjs rxjs-compat zone.js
  - npm i jquery ngx-bootstrap
  - npm install
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then nohup bash -c "webdriver-manager start 2>&1 &"; fi  # Protractor CI

after_failure:
  - ng -v

branches:
  only: master

notifications:
  email: true
  webhooks:
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: never     # options: [always|never|change] default: always

cache:
  directories: node_modules

script:
  - npm test
#  - npm run trigger
  
  <commit_msg>update travis.yml<commit_after>language: node_js
node_js: "10"

sudo: required

services:
  - xvfb

install: true  # yarn bug

addons:
  apt:
    packages:
      - google-chrome-stable	

os:
  - linux
#  - osx

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated xctool || brew upgrade xctool; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi  # Karma CI
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install google-chrome; fi  # Karma CI
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi

before_script:
  - npm uninstall @angular/tsc-wrapped
  - npm i @angular/common@6  @angular/compiler@6 @angular/core@6 @angular/forms@6 @angular/platform-browser@6 @angular/platform-browser-dynamic@6 rxjs rxjs-compat zone.js
  - npm i jquery ngx-bootstrap
  - npm install
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then nohup bash -c "webdriver-manager start 2>&1 &"; fi  # Protractor CI

after_failure:
  - ng -v

branches:
  only: [master]

notifications:
  email: true
  webhooks:
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: never     # options: [always|never|change] default: always

cache:
  directories: [node_modules]

script:
  - npm test
#  - npm run trigger
  
  
{'fraction_non_alphanumeric': 0.13763066202090593, 'fraction_numerical': 0.009059233449477353, 'mean_word_length': 3.5789473684210527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '591645', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1054, 'n_words': 273}