<commit_before>dist: trusty
sudo: false

language: python

python:
  - 3.5

addons:
  postgresql: "9.5"

before_script:
  - wget https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/4.2.0/flyway-commandline-4.2.0-linux-x64.tar.gz
  - tar zxvf flyway-commandline-4.2.0-linux-x64.tar.gz
  - psql -c 'create database ndr_test;' -U postgres
  - psql -f sql/users.sql -U postgres
  - flyway-4.2.0/flyway -url=jdbc:postgresql://localhost/ndr_test migrate
  - git clone https://github.com/SecuredByTHEM/ndr.git

install:
  - pip install codecov
  - pip install coverage

script:
  - PYTHONPATH=ndr coverage run --source=ndr_server setup.py test

after_success:
  - codecov

<commit_msg>Add ndr-netcfg to the travis script to allow the test cases to pass again<commit_after>dist: trusty
sudo: false

language: python

python:
  - 3.5

addons:
  postgresql: "9.5"

before_script:
  - wget https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/4.2.0/flyway-commandline-4.2.0-linux-x64.tar.gz
  - tar zxvf flyway-commandline-4.2.0-linux-x64.tar.gz
  - psql -c 'create database ndr_test;' -U postgres
  - psql -f sql/users.sql -U postgres
  - flyway-4.2.0/flyway -url=jdbc:postgresql://localhost/ndr_test migrate
  - git clone https://github.com/SecuredByTHEM/ndr.git

install:
  - pip install codecov
  - pip install coverage
  - pip install git+https://github.com/SecuredByTHEM/ndr-netcfg.git

script:
  - PYTHONPATH=ndr coverage run --source=ndr_server setup.py test

after_success:
  - codecov


{'fraction_non_alphanumeric': 0.12682602921646746, 'fraction_numerical': 0.029216467463479414, 'mean_word_length': 3.3429394812680115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '1813290', 'n_tokens_mistral': 621, 'n_tokens_neox': 603, 'n_words': 118}