<commit_before>language: node_js
node_js:
  - 0.8
branches:
  only:
    - master
    - dev
notifications:
  email:
    - <EMAIL>
    - <EMAIL>
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm install -g grunt-cli
  - grunt package
script:
  - grunt test:unit --browsers Firefox --reporters=dots
  - grunt test:e2e --browsers PhantomJS --reporters=dots
after_success:
  - if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then exit 0; fi
  - if [[ "$TRAVIS_BRANCH" == "dev" ]]; then echo "DEV BRANCH DOESN'T PUSH TO HEROKU"; exit 0; fi
  - if [[ "$TRAVIS_BRANCH" == "master" ]]; then
      wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh;
      git remote add heroku <EMAIL>:angular-doc.git;
      echo "Host heroku.com" >> ~/.ssh/config;
      echo "   StrictHostKeyChecking no" >> ~/.ssh/config;
      echo "   CheckHostIP no" >> ~/.ssh/config;
      echo "   UserKnownHostsFile=/dev/null" >> ~/.ssh/config;
      heroku keys:clear;
      yes | heroku keys:add;
      yes | git push heroku master; fi
env:
  global:
  - secure: ! 'YxUgd7mlHqvYwdFBfMr82uoUup48l8RzSToqdX/N/mazZQZjY9e4U7CGuU4j

      60CoHfZmje4NXWatX7fj0UfJDn53yCSztPNA9t09toLIT3bDbtMSqu3g/AE7

      MPzoXjtlbIXGS6wO4U+zWY+mMyEg2rQftmrjPQugZsvk105LtNM='<commit_msg>fix(.travis.yaml): Моя попытка номер 5 исправить прогонку тестов при pullreques-е<commit_after>language: node_js
node_js:
  - 0.8
branches:
  only:
    - master
    - dev
notifications:
  email:
    - <EMAIL>
    - <EMAIL>
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm install -g grunt-cli
  - grunt package
script:
  - grunt test:unit --browsers Firefox --reporters=dots
  - grunt test:e2e --browsers PhantomJS --reporters=dots
after_success:
  - if [[ "$TRAVIS_BRANCH" == "dev" ]]; then echo "DEV BRANCH DOESN'T PUSH TO HEROKU"; exit 0; fi
  - if [[ "$TRAVIS_BRANCH" == "master" ]]; then
      if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then exit 0; fi
      wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh;
      git remote add heroku <EMAIL>:angular-doc.git;
      echo "Host heroku.com" >> ~/.ssh/config;
      echo "   StrictHostKeyChecking no" >> ~/.ssh/config;
      echo "   CheckHostIP no" >> ~/.ssh/config;
      echo "   UserKnownHostsFile=/dev/null" >> ~/.ssh/config;
      heroku keys:clear;
      yes | heroku keys:add;
      yes | git push heroku master; fi
env:
  global:
  - secure: ! 'YxUgd7mlHqvYwdFBfMr82uoUup48l8RzSToqdX/N/mazZQZjY9e4U7CGuU4j

      60CoHfZmje4NXWatX7fj0UfJDn53yCSztPNA9t09toLIT3bDbtMSqu3g/AE7

      MPzoXjtlbIXGS6wO4U+zWY+mMyEg2rQftmrjPQugZsvk105LtNM='
{'fraction_non_alphanumeric': 0.13437978560490046, 'fraction_numerical': 0.02871362940275651, 'mean_word_length': 3.038639876352396, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 25, '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': '4346467', 'n_tokens_mistral': 1183, 'n_tokens_neox': 1125, 'n_words': 214}