<commit_before>language: node_js
node_js:
- '6'
services:
- docker
before_install:
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- sleep 3
- npm i -g npm@^3
- npm install -g webpack
- npm install -g webpack-dev-server
- npm install -g karma-cli
- npm install -g protractor
- npm install -g typescript
install:
- npm install
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm start &
- sleep 5
script:
- npm run build:prod
cache:
  directories:
  - "$HOME/.yarn-cache"
sudo: required
deploy:
  provider: heroku
  api_key:
    secure: <KEY>
  app: testjiragoggles-frontend
  on:
    repo: JiraGoggles/jiragoggles-frontend
    branch: fix-deploy
  buildpack: https://github.com/heroku/heroku-buildpack-nodejs#yarn<commit_msg>Set deploy from develop<commit_after>language: node_js
node_js:
- '6'
services:
- docker
before_install:
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- sleep 3
- npm i -g npm@^3
- npm install -g webpack
- npm install -g webpack-dev-server
- npm install -g karma-cli
- npm install -g protractor
- npm install -g typescript
install:
- npm install
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm start &
- sleep 5
script:
- npm run build:prod
cache:
  directories:
  - "$HOME/.yarn-cache"
sudo: required
deploy:
  provider: heroku
  api_key:
    secure: <KEY>
  app: testjiragoggles-frontend
  on:
    repo: JiraGoggles/jiragoggles-frontend
    branch: develop
  buildpack: https://github.com/heroku/heroku-buildpack-nodejs#yarn
{'fraction_non_alphanumeric': 0.12110373019928462, 'fraction_numerical': 0.019417475728155338, 'mean_word_length': 3.303296703296703, 'pattern_counts': {'":': 0, '<': 5, '<?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': '43612', 'n_tokens_mistral': 799, 'n_tokens_neox': 737, 'n_words': 202}