<commit_before>flanguage: node_js
node_js:
- '7'
dist: trusty
sudo: required
before_script:
- npm install
- npm install -g gulp-cli
- sudo chown root /opt/google/chrome/chrome-sandbox
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
script:
- npm run test
cache:
  directories:
  - node_modules
env:
- CXX=g++-4.8 CC=gcc-4.8
branches:
  except:
  - /^v?\d+\.\d+\.\d+$/
addons:
  - apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
  - code_climate
  - chrome: stable
before_deploy:
- npm run release
- npm run gh-pages
- git add package.json
- git add dist/
- git add package-lock.json
- "git commit -m \":gem: Build\""
- npm version patch
- PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
- git add package.json
- git add package-lock.json
- git commit -m \":gem: Release ${PACKAGE_VERSION}\"
deploy:
  - provider: releases
    skip_cleanup: true
    api_key: $GITHUB_TOKEN
    tag: next
    name: ${PACKAGE_VERSION}
    file:
      - "./dist/cmd-resume.js"
      - "./dist/cmd-resume.min.js"
    on:
      branch: master
  - provider: pages
    skip_cleanup: true
    local_dir: ./tmp
    github_token: $GITHUB_TOKEN
    target_branch: gh-pages
    fqdn: cmd-resume.bbody.io
    repo: bbody/CMD-Resume
    tag: next
    on:
      branch: master
  - provider: npm
    skip_cleanup: true
    email: "<EMAIL>"
    api_key: $NPMJS_TOKEN
    tag: next
    on:
      branch: master
after_success:
  - npm install -g codeclimate-test-reporter
  - codeclimate-test-reporter < coverage/lcov.info
  - git remote add origin <EMAIL>:bbody/CMD-Resume.git
  - git push origin master<commit_msg>:rocket: Move git out of travis file<commit_after>flanguage: node_js
node_js:
- '7'
dist: trusty
sudo: required
before_script:
- npm install
- npm install -g gulp-cli
- sudo chown root /opt/google/chrome/chrome-sandbox
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
script:
- npm run test
cache:
  directories:
  - node_modules
env:
- CXX=g++-4.8 CC=gcc-4.8
branches:
  except:
  - /^v?\d+\.\d+\.\d+$/
addons:
  - apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
  - code_climate
  - chrome: stable
before_deploy:
- npm run release
- npm run gh-pages
- ./scripts/build_commit.sh
- npm version patch
- PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
- ./scripts/release_commit.sh
deploy:
  - provider: releases
    skip_cleanup: true
    api_key: $GITHUB_TOKEN
    tag: next
    name: ${PACKAGE_VERSION}
    file:
      - "./dist/cmd-resume.js"
      - "./dist/cmd-resume.min.js"
    on:
      branch: master
  - provider: pages
    skip_cleanup: true
    local_dir: ./tmp
    github_token: $GITHUB_TOKEN
    target_branch: gh-pages
    fqdn: cmd-resume.bbody.io
    repo: bbody/CMD-Resume
    tag: next
    on:
      branch: master
  - provider: npm
    skip_cleanup: true
    email: "<EMAIL>"
    api_key: $NPMJS_TOKEN
    tag: next
    on:
      branch: master
after_success:
  - npm install -g codeclimate-test-reporter
  - codeclimate-test-reporter < coverage/lcov.info
  - ./scripts/push.sh
{'fraction_non_alphanumeric': 0.1320754716981132, 'fraction_numerical': 0.0071567989590110605, 'mean_word_length': 2.6133960047003524, 'pattern_counts': {'":': 2, '<': 8, '<?xml version=': 0, '>': 6, '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': '556841', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1141, 'n_words': 273}