<commit_before>language: node_js

node_js:
  - "0.8"

notifications:
  irc:
    channels:
      - "irc.mozilla.org#talkilla"
    use_notice: false
    skip_join: false
  email:
    - <EMAIL>

before_install:
  - export DISPLAY=:99.0
  - export PATH=$PATH:$HOME/.local/bin
  - sh -e /etc/init.d/xvfb start
  - pip install --install-option="--prefix=$HOME/.local" -r require.pip --use-mirrors

# The /check url below will check to see if the repository is updated and deploy
# if necessary.
after_success:
  - if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
      echo "This is a pull request, not requesting deployment";
      exit 0;
    fi
  - if [[ "$TRAVIS_BRANCH" != "master" ]]; then
      echo "Non-master branch, not requesting deployment";
      exit 0;
    fi
  - echo "Requesting deployment"
  - curl --data '' http://talkilla-deployer.mozillalabs.com/check
<commit_msg>Adjust Travis reporting settings now that Travis reports to irc as well. rs=Florian<commit_after>language: node_js

node_js:
  - "0.8"

notifications:
  irc:
    channels:
      - "irc.mozilla.org#talkilla"
    use_notice: false
    skip_join: true
    on_success: change
    on_failure: always
    template:
      - "%{repository} (%{branch} - %{commit}: %{author}): %{message} %{build_url}
  email:
    - <EMAIL>
    - on_success: change
    - on_failure: change

before_install:
  - export DISPLAY=:99.0
  - export PATH=$PATH:$HOME/.local/bin
  - sh -e /etc/init.d/xvfb start
  - pip install --install-option="--prefix=$HOME/.local" -r require.pip --use-mirrors

# The /check url below will check to see if the repository is updated and deploy
# if necessary.
after_success:
  - if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
      echo "This is a pull request, not requesting deployment";
      exit 0;
    fi
  - if [[ "$TRAVIS_BRANCH" != "master" ]]; then
      echo "Non-master branch, not requesting deployment";
      exit 0;
    fi
  - echo "Requesting deployment"
  - curl --data '' http://talkilla-deployer.mozillalabs.com/check

{'fraction_non_alphanumeric': 0.13339920948616601, 'fraction_numerical': 0.00691699604743083, 'mean_word_length': 2.901734104046243, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1137954', 'n_tokens_mistral': 710, 'n_tokens_neox': 678, 'n_words': 191}