<commit_before>language: node_js
node_js:
  - "0.10"

env:
  global:
    - SAUCE_USERNAME=nggrid
    - SAUCE_ACCESS_KEY=45dabea8-d4d4-4924-a4af-5651952f67ed
    - SAUCE_CONNECT_READY_FILE=/tmp/sauce-connect-ready
    - LOGS_DIR=/tmp/angular-build/logs

branches:
  only:
    - master
    - /3\.0/
    - /^release-.*$/

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - mkdir -p $LOGS_DIR
  - ./misc/test_lib/sauce/sauce_connect_setup.sh
  - npm install --quiet -g grunt-cli karma
  - npm install
  - npm install karma@canary
  - ./misc/test_lib/sauce/sauce_connect_block.sh

# Run default task first, then CI task(s)
script:
  - grunt
  - ./travis_build.sh<commit_msg>Changing Sauce Labs key to a secure env var<commit_after>language: node_js

node_js:
- '0.10'

env:
  global:
  - SAUCE_USERNAME=nggrid
  - SAUCE_ACCESS_KEY=45dabea8-d4d4-4924-a4af-5651952f67ed
  - SAUCE_CONNECT_READY_FILE=/tmp/sauce-connect-ready
  - LOGS_DIR=/tmp/angular-build/logs
  - secure: PEQFPTi8DRVrj6dEl6tQ+QTI07N8A3XST9eu5uHyW9YuDErDpn6rE8iEI2bd6nU5jldF9cCaGprpEi6aTP71jxFkm2Yjk1PRxtSVo5Cvu7sEwaFOnZi2KBgpKAdv8T3GB4rcjePe3oPwSkw1i/s9THSe18KSzZdgwP2LMctlCyA=

branches:
  only:
  - master
  - /3\.0/
  - /^release-.*$/

before_script:
- chmod +x ./misc/test_lib/sauce/sauce_connect_setup.sh
- chmod +x ./misc/test_lib/sauce/sauce_connect_block.sh
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- mkdir -p $LOGS_DIR
- ./misc/test_lib/sauce/sauce_connect_setup.sh
- npm install --quiet -g grunt-cli karma
- npm install
- npm install karma@canary
- ./misc/test_lib/sauce/sauce_connect_block.sh

script:
- grunt
- ./travis_build.sh
{'fraction_non_alphanumeric': 0.12378048780487805, 'fraction_numerical': 0.05304878048780488, 'mean_word_length': 3.3994638069705094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5139109', 'n_tokens_mistral': 830, 'n_tokens_neox': 777, 'n_words': 104}