<commit_before>sudo: required
dist: trusty
language: generic
before_install:
  - sudo apt-get update -qq -y
  - sudo apt-get install -y python-dev
  - sudo apt-get install -y python-pip
  - sudo pip install --upgrade pip
  - sudo apt-get install -y python-virtualenv
  - sudo apt-get install -y python-numpy
  - sudo apt-get install -y python-scipy
  - sudo apt-get install -y python-h5py
  - sudo apt-get install -y python-matplotlib
script:
  - make -f Makefile test
after_success:
  - sudo pip install codecov
  - codecov
before_deploy:
  - sudo pip install twine
deploy:
  provider: pypi
  user: bbp.opensource
  password:
    secure: <KEY>
  on:
    tags: true
    branch: master
<commit_msg>Attempt to use travis python functionality.<commit_after>sudo: required
dist: trusty
language: python
python:
  - 2.7
virtualenv:
  system_site_packages: true
before_install:
  - sudo apt-get update -qq -y
  - sudo apt-get install -y python-dev
  - sudo apt-get install -y python-numpy
  - sudo apt-get install -y python-scipy
  - sudo apt-get install -y python-h5py
  - sudo apt-get install -y python-matplotlib
install:
  - pip install --upgrade pip
  - pip install .
cache:
  directories:
    - $HOME/.cache/pip
script:
  - make -f Makefile test
after_success:
  - sudo pip install codecov
  - codecov
before_deploy:
  - sudo pip install twine
deploy:
  provider: pypi
  user: bbp.opensource
  password:
    secure: N/<KEY>
  on:
    tags: true
    branch: master

{'fraction_non_alphanumeric': 0.08948087431693989, 'fraction_numerical': 0.00273224043715847, 'mean_word_length': 2.8552631578947367, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4245881', 'n_tokens_mistral': 526, 'n_tokens_neox': 492, 'n_words': 167}