<commit_before>sudo: required
language: python
dist: trusty
python:
  - "2.7"
after_success:
  - codecov
virtualenv:
  system_site_packages: true
install:
  - pip install -r requirements.txt
  - pip install --editable .
  - pip install codecov pytest-cov click ipaddress humanize falcon simplepam
script:
  - sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
  - sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
  - sudo usermod -a -G shadow $USER
  - py.test --cov-report xml --cov=certidude tests/
cache:
  directories:
    - $HOME/.cache/pip
addons:
  apt:
    packages:
    - python-xattr
    - python-setproctitle
    - python-markdown
    - python-jinja2
    - python-configparser
    - python-pyasn1
    - python-openssl
<commit_msg>Attempt to fix PAM auth in Travis<commit_after>sudo: required
language: python
dist: trusty
python:
  - "2.7"
after_success:
  - codecov
virtualenv:
  system_site_packages: true
install:
  - pip install -r requirements.txt
  - pip install --editable .
  - pip install codecov pytest-cov click ipaddress humanize falcon simplepam
script:
  - sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
  - sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
  - sudo usermod -a -G shadow $USER
  - sudo -E su $USER -c 'py.test --cov-report xml --cov=certidude tests/'
cache:
  directories:
    - $HOME/.cache/pip
addons:
  apt:
    packages:
    - python-xattr
    - python-setproctitle
    - python-markdown
    - python-jinja2
    - python-configparser
    - python-pyasn1
    - python-openssl

{'fraction_non_alphanumeric': 0.10162094763092269, 'fraction_numerical': 0.022443890274314215, 'mean_word_length': 2.9925373134328357, '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': '702390', 'n_tokens_mistral': 630, 'n_tokens_neox': 608, 'n_words': 149}