<commit_before>language: python
sudo: required
env:
  - TOXENV=py27
  - TOXENV=py34

install:
  - (!(test -f docker_packages.txt) || (cat docker_packages.txt | xargs sudo apt-get install -y))
  - pip install -r requirements_dev.txt
  - pip install -r requirements.txt

script: npm run dist

deploy:
  provider: releases
  api_key:
    secure: <KEY>
  file_glob: true
  file: dist/phovea_data_redis*.egg
  on:
    tags: true

notifications:
  slack:
    secure: <KEY>
    on_success: change
    on_failure: always<commit_msg>travis enable slack,pypi,npm,releases<commit_after>language: python
sudo: required
env:
- TOXENV=py27
- TOXENV=py34
install:
- "(!(test -f docker_packages.txt) || (cat docker_packages.txt | xargs sudo apt-get
  install -y))"
- pip install -r requirements_dev.txt
- pip install -r requirements.txt
script: npm run dist
notifications:
  slack:
    secure: <KEY>
    on_success: change
    on_failure: always
deploy:
- provider: releases
  api_key:
    secure: <KEY>
  file_glob: true
  file: dist/phovea_data_redis*.egg
  on:
    tags: true
    repo: phovea/phovea_data_redis
- provider: pypi
  user: caleydo-bot
  password:
    secure: <KEY>
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: phovea/phovea_data_redis
{'fraction_non_alphanumeric': 0.1026252983293556, 'fraction_numerical': 0.006364359586316627, 'mean_word_length': 3.5415162454873648, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, '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': '2162762', 'n_tokens_mistral': 481, 'n_tokens_neox': 456, 'n_words': 120}