<commit_before># travis-ci integration for KiBOM

dist: xenial

language: python

python:
  - 3.6

install:
  - pip3 install -r test/requirements.txt

addons:
  apt:
    update: true

before_install:
  - sudo apt-get install python3-pip python3-coverage python3-xlsxwriter

script:
  # Check Python code for style-guide 
  - flake8 .
    # Test that the export script works with both Python2 and Python3
  - python2 KiBOM_CLI.py test/kibom-test.xml test/out2.csv
  - python3 KiBOM_CLI.py test/kibom-test.xml test/out3.csv
  # Run the coverage tests 
  - bash ./run-tests.sh

after_success:<commit_msg>Run travis scripts against multiple python versions<commit_after># travis-ci integration for KiBOM

dist: xenial

language: python

python:
  - 2.7
  - 3.6

install:
  - pip install -r test/requirements.txt

addons:
  apt:
    update: true

before_install:
  - sudo apt-get install python3-pip python3-coverage python3-xlsxwriter

script:
  # Check Python code for style-guide 
  - flake8 .
  # Run the coverage tests 
  - bash ./run-tests.sh

after_success:
{'fraction_non_alphanumeric': 0.08404154863078375, 'fraction_numerical': 0.019830028328611898, 'mean_word_length': 3.1897233201581026, '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': '5467229', 'n_tokens_mistral': 392, 'n_tokens_neox': 374, 'n_words': 107}