<commit_before>---
language: node_js

cache:
  bundler: true
  apt: true
  directories:
    - node_modules

node_js:
  - "0.10"

git:
  depth: 1

env:
  global:
    - "ARTIFACTS_AWS_REGION=us-east-1"
    - "ARTIFACTS_S3_BUCKET=cdnjs-artifacts"
    - secure: "<KEY>
    - secure: "<KEY>
    - secure: "<KEY>

install: true
#  - npm install --production --loglevel warn

before_script:
  - 'if [ `pwd` != "/home/travis/build/cdnjs/cdnjs" ]; then exit 1; fi'
  - "gem --version"
  - "travis_retry gem install nokogiri --no-document -- --use-system-libraries > /dev/null"
  - "travis_retry gem install --version 0.8.9 faraday --no-document > /dev/null"
  - "travis_retry gem install fog-json --no-document > /dev/null"
  - "travis_retry gem install travis-artifacts --no-document > /dev/null"

after_success:
  - "node ./build/packages.json.js"
  - "travis-artifacts upload --path packages.json --target-path /"
  - "travis-artifacts upload --path rss --target-path /"

notifications:
  hipchat: 3<PASSWORD>@cdnjs
  email:
    on_success: never
<commit_msg>adj .travis before script<commit_after>---
language: node_js

cache:
  bundler: true
  apt: true
  directories:
    - node_modules

node_js:
  - "0.10"

git:
  depth: 1

env:
  global:
    - "ARTIFACTS_AWS_REGION=us-east-1"
    - "ARTIFACTS_S3_BUCKET=cdnjs-artifacts"
    - secure: "<KEY>
    - secure: "<KEY>
    - secure: "<KEY>

install: true
#  - npm install --production --loglevel warn

before_script:
  - 'if [ `pwd` != "/home/travis/build/cdnjs/cdnjs" ]; then exit 1; fi'
  - "gem --version"
  - "travis_retry gem install nokogiri --no-document -- --use-system-libraries > /dev/null"
  - "travis_retry gem install faraday -v 0.8.9 --no-document > /dev/null"
  - "travis_retry gem install fog-json --no-document > /dev/null"
  - "travis_retry gem install travis-artifacts --no-document > /dev/null"

after_success:
  - "node ./build/packages.json.js"
  - "travis-artifacts upload --path packages.json --target-path /"
  - "travis-artifacts upload --path rss --target-path /"

notifications:
  hipchat: 3<PASSWORD>@cdnjs
  email:
    on_success: never

{'fraction_non_alphanumeric': 0.15442918048318333, 'fraction_numerical': 0.010421601136901942, 'mean_word_length': 2.8260869565217392, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '5149672', 'n_tokens_mistral': 830, 'n_tokens_neox': 832, 'n_words': 179}