<commit_before>language: python
sudo: required

dist: bionic
group: edge

cache:
    pip: true

python:
    - 3.6
    - "3.6-dev"

before_install:
    - sudo apt-get update -qq
    - sudo apt-get install automake libtool make gcc libmagic-dev -yqq python3-pip
    - wget https://github.com/VirusTotal/yara/archive/v3.10.0.tar.gz
    - tar -xzvf v3.10.0.tar.gz
    - cd yara-3.10.0/ && ./bootstrap.sh && ./configure --enable-dotnet --enable-magic && make && sudo make install && cd ../
    - git clone --recursive https://github.com/VirusTotal/yara-python
    - pip3 install pytest codecov pytest-cov
    - cd yara-python 
    - python setup.py build --enable-magic --enable-dotnet 
    - python setup.py install
    


install:
    - pip install -r requirements.txt
    - pip install -e .

script:
    - malconf
    - pytest -v --cov=malwareconfig

after_success:
    - codecov<commit_msg>travis return to main dir<commit_after>language: python
sudo: required

dist: bionic
group: edge

cache:
    pip: true

python:
    - 3.6
    - "3.6-dev"

before_install:
    - sudo apt-get update -qq
    - sudo apt-get install automake libtool make gcc libmagic-dev -yqq python3-pip
    - wget https://github.com/VirusTotal/yara/archive/v3.10.0.tar.gz
    - tar -xzvf v3.10.0.tar.gz
    - cd yara-3.10.0/ && ./bootstrap.sh && ./configure --enable-dotnet --enable-magic && make && sudo make install && cd ../
    - git clone --recursive https://github.com/VirusTotal/yara-python
    - pip3 install pytest codecov pytest-cov
    - cd yara-python 
    - python setup.py build --enable-magic --enable-dotnet 
    - python setup.py install && popd
    


install:
    - pip install -r requirements.txt
    - pip install -e .

script:
    - malconf
    - pytest -v --cov=malwareconfig

after_success:
    - codecov
{'fraction_non_alphanumeric': 0.12791991101223582, 'fraction_numerical': 0.020022246941045607, 'mean_word_length': 2.2414414414414416, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6013289', 'n_tokens_mistral': 663, 'n_tokens_neox': 629, 'n_words': 162}