<commit_before>sudo: false
language: python
virtualenv:
  system_site_packages: true
cache:
  pip: true
  directories:
    - smif/app/node_modules
before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log
env:
  global:
  - SKIP_GENERATE_AUTHORS=1
  - SKIP_WRITE_GIT_CHANGELOG=1
  matrix:
  - DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="true"
install:
- source tests/travis_install.sh
- pip install git+https://github.com/behave/behave
- pip install -r test-requirements.txt -r requirements.txt
- nvm install 6.11.4
- nvm use 6.11.4
- cd $TRAVIS_BUILD_DIR/smif/app && npm install
script:
- python setup.py develop
- python setup.py test
- cd $TRAVIS_BUILD_DIR/smif/app && npm test
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
notifications:
  email: false
deploy:
  provider: pypi
  user: willu47
  password:
    secure: <KEY>
  on:
    tags: true
    all_branches: true<commit_msg>Fix travis directory context for python tests<commit_after>sudo: false
language: python
virtualenv:
  system_site_packages: true
cache:
  pip: true
  directories:
    - smif/app/node_modules
before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log
env:
  global:
  - SKIP_GENERATE_AUTHORS=1
  - SKIP_WRITE_GIT_CHANGELOG=1
  matrix:
  - DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="true"
install:
- source tests/travis_install.sh
- pip install git+https://github.com/behave/behave
- pip install -r test-requirements.txt -r requirements.txt
- nvm install 6.11.4
- nvm use 6.11.4
- cd $TRAVIS_BUILD_DIR/smif/app && npm install
script:
- cd $TRAVIS_BUILD_DIR && python setup.py develop
- python setup.py test
- cd $TRAVIS_BUILD_DIR/smif/app && npm test
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
notifications:
  email: false
deploy:
  provider: pypi
  user: willu47
  password:
    secure: <KEY>
  on:
    tags: true
    all_branches: true
{'fraction_non_alphanumeric': 0.12052631578947369, 'fraction_numerical': 0.014736842105263158, 'mean_word_length': 3.8005050505050506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '3564823', 'n_tokens_mistral': 732, 'n_tokens_neox': 715, 'n_words': 171}