<commit_before>language: python
python:
  - "2.7"

env:
  # the 'relengapi' command wants a settings file, but the contents
  # aren't terribly important, so the example will do fine.  This is
  # relative to the directory containing app.py, although Flask does not
  # document that.
  - RELENGAPI_SETTINGS=../../settings_example.py

# command to install dependencies
install: "pip install -e base[test] -e docs[test]"

# command to run tests
script:
  - relengapi run-tests
  - relengapi build-docs<commit_msg>update travis to run validation<commit_after>language: python
python:
  - "2.7"

env:
  # the 'relengapi' command wants a settings file, but the contents
  # aren't terribly important, so the example will do fine.  This is
  # relative to the directory containing app.py, although Flask does not
  # document that.
  - RELENGAPI_SETTINGS=../../settings_example.py

# command to install dependencies
install: "pip install -e base[test] -e docs[test]"

# command to run tests
script:
  - relengapi run-tests
  - sh base/validate-sdist.sh
  - sh base/validate-lint.sh
{'fraction_non_alphanumeric': 0.09479553903345725, 'fraction_numerical': 0.0037174721189591076, 'mean_word_length': 3.6826086956521737, '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': '4837562', 'n_tokens_mistral': 342, 'n_tokens_neox': 329, 'n_words': 123}