<commit_before>language: elixir
dist: trusty
elixir:
  - 1.4.2
addons:
  postgresql: "9.6"

services:
 - redis-server

env:
 global:
   - MIX_ENV=test
   - PULL_REQUEST_ID=$TRAVIS_PULL_REQUEST
   - TRAVIS_NODE_VERSION="6.10.1"

cache:
  yarn: true
  directories:
    — /home/travis/.rvm/
    - travis_phantomjs
    - node_modules

before_install:
  # Upgrade PhantomJS to v2.1.1.
  - "export PHANTOMJS_VERSION=2.1.1"
  - "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
  - "if [ ! -e $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
  - "if [ ! -e $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
  - "if [ ! -e $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
  - "phantomjs --version"
  - nvm install $TRAVIS_NODE_VERSION
  - npm install -g yarn

before_script:
  - rvm install ruby-2.3.1
  # - gem install pronto-credo
  - yarn

script:
  # - if [ $PULL_REQUEST_ID != false ]; then pronto run -f github_pr; fi
  - mix coveralls.travis
<commit_msg>readd pronto credo check (#129)<commit_after>language: elixir
dist: trusty
elixir:
  - 1.4.2
addons:
  postgresql: "9.6"

services:
 - redis-server

env:
 global:
   - MIX_ENV=test
   - PULL_REQUEST_ID=$TRAVIS_PULL_REQUEST
   - TRAVIS_NODE_VERSION="6.10.1"

cache:
  yarn: true
  directories:
    — /home/travis/.rvm/
    - travis_phantomjs
    - node_modules

before_install:
  # Upgrade PhantomJS to v2.1.1.
  - "export PHANTOMJS_VERSION=2.1.1"
  - "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
  - "if [ ! -e $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
  - "if [ ! -e $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
  - "if [ ! -e $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
  - "phantomjs --version"
  - nvm install $TRAVIS_NODE_VERSION
  - npm install -g yarn

before_script:
  - rvm install ruby-2.3.1
  - gem install pronto-credo
  - yarn

script:
  - if [ $PULL_REQUEST_ID != false ]; then pronto run -f github_pr; fi
  - mix coveralls.travis

{'fraction_non_alphanumeric': 0.13353825136612021, 'fraction_numerical': 0.03449453551912568, 'mean_word_length': 3.857379767827529, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3246249', 'n_tokens_mistral': 1327, 'n_tokens_neox': 1244, 'n_words': 188}