<commit_before>language: python
python:
  - "2.7"
# command to install dependencies
install:
  - pip install .
  - pip install -r requirements.txt
  - pip install codecov
# command to run tests
script:
  - pylint --ignore-patterns=test* starter || [[ $? == 0 || $? -ge 8 ]]
  - python -m pytest . --cov=starter --cov-report term-missing --cov-report xml
after_success:
  - codecov<commit_msg>chore(travis): fix build to point to the right directory<commit_after>language: python
python:
  - "2.7"
# command to install dependencies
install:
  - pip install .
  - pip install -r requirements.txt
  - pip install codecov
# command to run tests
#  The first runs pylint, reads the code raiting and errors if the rating is below 8.
#  The second runs the tests.
script:
  - pylint --ignore-patterns=test* actsys | tee /dev/tty | gawk 'match($0, /([0-9]*)[0-9.]*\.[0-9]/, a) {exit a[1]}' || [[ $? == 0 || $? -ge 8 ]]
  - python -m pytest . --cov=actsys --cov-report term-missing --cov-report xml
after_success:
  - codecov
{'fraction_non_alphanumeric': 0.1486220472440945, 'fraction_numerical': 0.01673228346456693, 'mean_word_length': 3.100806451612903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4277944', 'n_tokens_mistral': 355, 'n_tokens_neox': 344, 'n_words': 114}