<commit_before>language: node_js

branches:
  only: 
   - master

node_js:
 - '0.11'
 - '0.10'
 - '0.12'
 - '5.11'
 - '6.3.0'
 - 'node'
 - 'iojs'

before_install:
 - git submodule update --init --recursive
 - npm install -g grunt-cli

script:
 - mocha
 - ./node_modules/jscs/bin/jscs main.js lib/ test/
 - ./node_modules/jscs/bin/jscs main.js main.js lib/ test/
 - grunt build
 - sh -c 'if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then grunt test-browser; fi';

env:
  global:
   - secure: <KEY>
   - secure: "<KEY>
   - secure: "<KEY>
   - secure: "<KEY>

notifications:
  slack:
    secure: gybn0stlysc78PYGwAxLGKQuwilHsViQe7fQ9VZTnKw8XQ4qdWxZC7Gk3Sg6XNntCSFYT8bSAO8LDQsT0yutODJ1ErxGuMRuJElSktRr5ylerWgzXbcpDyCA+hI1tzso94ITLTOamw9tGn8FyGvhMAMkByLZYpzuMjiWn+5BbzI=<commit_msg>use envvar to run saucelabs in seperate job<commit_after>language: node_js

branches:
  only: 
   - master

node_js:
 - '0.11'
 - '0.10'
 - '0.12'
 - '5.11'
 - '6.3.0'
 - 'node'
 - 'iojs'

matrix:
  include:
  - node_js: 0.12
    env: SAUCELABS=true

before_install:
 - git submodule update --init --recursive
 - npm install -g grunt-cli

script:
 - sh -c 'if [ "SAUCELABS" = "false" ]; then mocha; fi';
 - sh -c 'if [ "SAUCELABS" = "false" ]; then ./node_modules/jscs/bin/jshint main.js lib/ test/; fi';
 - sh -c 'if [ "SAUCELABS" = "false" ]; then ./node_modules/jscs/bin/jscs main.js lib/ test/; fi';
 - sh -c 'if [ "SAUCELABS" = "true" ]; then grunt build; fi';
 - sh -c 'if [ "SAUCELABS" = "true" ]; then grunt test-browser; fi';

env:
 - SAUCELABS=false
  global:
   - secure: <KEY>
   - secure: "<KEY>
   - secure: "<KEY>
   - secure: "<KEY>

notifications:
  slack:
    secure: <KEY>
{'fraction_non_alphanumeric': 0.16646634615384615, 'fraction_numerical': 0.034254807692307696, 'mean_word_length': 2.9176470588235293, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '5670544', 'n_tokens_mistral': 802, 'n_tokens_neox': 774, 'n_words': 158}