<commit_before>dist: trusty

addons:
  chrome: stable

language: python

sudo: false

python:
  - "3.6"
  - "3.7-dev"

before_install:
  - export CHROME_BIN=chromium-browser
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  
install:
  - pip install pytest-cov
  - pip install coverage
  - pip install python-coveralls
  - pip install -r requirements.txt
  - cd Angular
  - npm install
  - npm install bithound --save-dev

before_script:
  - cd ../
  - export PYTHONWARNINGS="ignore" 
  - export FLASK_APP=skf/app.py 
  - export PYTHONPATH=.:$PYTHONPATH

script:
  - coverage run --source=skf setup.py test
  - cd Angular; ./node_modules/.bin/bithound check <EMAIL>:blabla1337/skf-flask.git
  - cd Angular; ./node_modules/karma/bin/karma start karma.conf.js

after_success:
  - coveralls
  - pip install hub-pip==1.1.0
  - python setup.py hub_pip --DeployHubBdio=false
  - bash <(curl -s https://copilot.blackducksoftware.com/bash/travis) ./build/blackduck/*.jsonld


notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/0166be20e8a41ff19fd8
    on_success: always  
    on_failure: always  
    on_start: never     <commit_msg>test coveralls fix?<commit_after>dist: trusty

addons:
  chrome: stable

language: python

sudo: false

python:
  - "3.6"
  - "3.7-dev"

before_install:
  - export CHROME_BIN=chromium-browser
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  
install:
  - pip install pytest-cov
  - pip install coverage
  - pip install python-coveralls
  - pip install -r requirements.txt
  - cd Angular
  - npm install
  - npm install bithound --save-dev

before_script:
  - cd ../
  - export PYTHONWARNINGS="ignore" 
  - export FLASK_APP=skf/app.py 
  - export PYTHONPATH=.:$PYTHONPATH

script:
  - cd Angular; ./node_modules/.bin/bithound check <EMAIL>:blabla1337/skf-flask.git
  - cd Angular; ./node_modules/karma/bin/karma start karma.conf.js
  - coverage run --source=skf setup.py test

after_success:
  - pip install hub-pip==1.1.0
  - python setup.py hub_pip --DeployHubBdio=false
  - bash <(curl -s https://copilot.blackducksoftware.com/bash/travis) ./build/blackduck/*.jsonld
  - coveralls

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/0166be20e8a41ff19fd8
    on_success: always  
    on_failure: always  
    on_start: never     
{'fraction_non_alphanumeric': 0.11924235901851055, 'fraction_numerical': 0.02238484718037021, 'mean_word_length': 2.86046511627907, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '1291716', 'n_tokens_mistral': 940, 'n_tokens_neox': 892, 'n_words': 184}