<commit_before>env:
  global:
   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
   #   via the "travis encrypt" command using the project repo's public key
   - secure: "<KEY>1XczTeCVRX5wa8s="

addons:
  coverity_scan:
    project:
      name: "ainich/politraf"
      description: "Build submitted via Travis CI"
    notification_email: <EMAIL>
    #build_command_prepend: ""
    build_command: "cov-build --dir cov-int --no-command --fs-capture-search /home/travis/build/ainich/politraf/src"
    branch_pattern: master

sudo: enabled
language: python
python:
 #- "3.2"
 #- "3.3"
 - "3.4"
 #- "3.5"
 #- "3.5-dev" # 3.5 development branch
 #- "3.6"
 #- "3.6-dev" # 3.6 development branch
 #- "3.7-dev" # 3.7 development branch
install:
  - "sudo apt-get install python3-pip"
  - "sudo pip install -r requirements.txt"
  #- "sudo pip3 install -r requirements.txt"
  - "sudo apt-get install tshark"
  - "sudo mkdir /etc/systemd"
  - "sudo mkdir /etc/systemd/system"
  - "sudo ./setup.py"
  #- "sudo mkdir /home/travis/build/ainich/politraf/src"
  #- "sudo cp iocwatch.py, systat.py, constat.py, setup.py, dbmodels.py /home/travis/build/ainich/politraf/src"
before_install:
  - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
  - docker pull yandex/clickhouse-server
  - docker run -d -p 127.0.0.1:8123:8123 --name some-clickhouse-server --ulimit nofile=262144:262144 yandex/clickhouse-server:1.1.54159
  - docker ps -a
script: 
  - pytest
  - python3 -m pytest iocwatch.py
  - python3 -m pytest systat.py
  - python3 -m pytest constat.py
  - python3 -m pytest setup.py
  - python3 -m pytest otxget.py<commit_msg>	modified:   .travis.yml<commit_after>env:
  global:
   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
   #   via the "travis encrypt" command using the project repo's public key
   - secure: "<KEY>

addons:
  coverity_scan:
    project:
      name: "ainich/politraf"
      description: "Build submitted via Travis CI"
    notification_email: <EMAIL>
    #build_command_prepend: ""
    build_command: "cov-build --dir cov-int --no-command --fs-capture-search /home/travis/build/ainich/politraf/src"
    branch_pattern: master

sudo: enabled
language: python
python:
 #- "3.2"
 #- "3.3"
 - "3.4"
 #- "3.5"
 #- "3.5-dev" # 3.5 development branch
 #- "3.6"
 #- "3.6-dev" # 3.6 development branch
 #- "3.7-dev" # 3.7 development branch
install:
  - "sudo apt-get install python3-pip"
  #- "sudo pip install -r requirements.txt"
  - "sudo pip3 install -r requirements.txt"
  - "sudo apt-get install tshark"
  - "sudo mkdir /etc/systemd"
  - "sudo mkdir /etc/systemd/system"
  - "sudo ./setup.py"
  #- "sudo mkdir /home/travis/build/ainich/politraf/src"
  #- "sudo cp iocwatch.py, systat.py, constat.py, setup.py, dbmodels.py /home/travis/build/ainich/politraf/src"
before_install:
  - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
  - docker pull yandex/clickhouse-server
  - docker run -d -p 127.0.0.1:8123:8123 --name some-clickhouse-server --ulimit nofile=262144:262144 yandex/clickhouse-server:1.1.54159
  - docker ps -a
script: 
  - pytest
  - python3 -m pytest iocwatch.py
  - python3 -m pytest systat.py
  - python3 -m pytest constat.py
  - python3 -m pytest setup.py
  - python3 -m pytest otxget.py
{'fraction_non_alphanumeric': 0.14223638470451913, 'fraction_numerical': 0.03852838933951332, 'mean_word_length': 2.9735327963176066, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '284147', 'n_tokens_mistral': 1417, 'n_tokens_neox': 1338, 'n_words': 321}