<commit_before>language: python

python:
  - '3.5'

env:
  - TRAVIS_NODE_VERSION="6.9.1"
    MEERKAT_FRONTEND_SETTINGS="/home/travis/build/meerkat-code/meerkat_frontend/country_config/null_config.py"
    MEERKAT_AUTH_SETTINGS="/home/travis/build/meerkat-code/meerkat_frontend/meerkat_libs/meerkat_libs/auth_client/sample_auth.cfg"

install:
  - pip install .
  - pip install -r requirements.txt
  - sudo apt-get install ghostscript
  # As per http://austinpray.com/ops/2015/09/20/change-travis-node-version.html
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
  - npm install -g yarn gulp bower
  - yarn install
  - git clone https://github.com/meerkat-code/meerkat_libs.git
  - pip install -r meerkat_libs/requirements.txt
<commit_msg>Update travis config<commit_after>language: python

python:
  - '3.5'

env:
  - TRAVIS_NODE_VERSION="6.9.1"
    MEERKAT_FRONTEND_SETTINGS="/home/travis/build/meerkat-code/meerkat_frontend/country_config/null_config.py"
    MEERKAT_AUTH_SETTINGS="/home/travis/build/meerkat-code/meerkat_frontend/meerkat_libs/meerkat_libs/auth_client/sample_auth.cfg"
    HERMES_API_ROOT='http://testapiroot'

install:
  - pip install .
  - pip install -r requirements.txt
  - sudo apt-get install ghostscript
  # As per http://austinpray.com/ops/2015/09/20/change-travis-node-version.html
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
  - npm install -g yarn gulp bower
  - yarn install
  - git clone https://github.com/meerkat-code/meerkat_libs.git
  - pip install -r meerkat_libs/requirements.txt

{'fraction_non_alphanumeric': 0.13815789473684212, 'fraction_numerical': 0.015350877192982455, 'mean_word_length': 3.727979274611399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6734585', 'n_tokens_mistral': 729, 'n_tokens_neox': 699, 'n_words': 117}