<commit_before>language: python
python:
  - 3.5
  - 3.6
  - 3.7
  - 3.8-dev
  - nightly
env:
  - PYAUDI_AVAILABLE=true
  - PYAUDI_AVAILABLE=false
  - DES_BACKEND='numpy'
  - DES_BACKEND='torch'
  
before_install:
  - pip install -r requirements.txt
  - if [[ $PYAUDI_AVAILABLE == true ]]; then pip3 install pyaudi>=1.7; fi
  - if [[ "$DES_BACKEND" == "torch" ]]; then pip3 install torch==1.3.1+cpu torchvision==0.4.2+cpu -f https://download.pytorch.org/whl/torch_stable.html; fi
# command to install dependencies
install:
  - pip install .
# command to run tests
script:
  - nosetests
<commit_msg>[CI] Added build exclusions for CI for configurations where pytorch and pyaudi are unavailable.<commit_after>language: python
python:
  - 3.5
  - 3.6
  - 3.7
  - 3.8-dev
  - nightly
env:
  - PYAUDI_AVAILABLE=true
  - PYAUDI_AVAILABLE=false
  - DES_BACKEND='numpy'
  - DES_BACKEND='torch'
jobs:
  exclude:
  - python: 3.8-dev
    env: DES_BACKEND='torch'
  - python: 3.8-dev
    env: PYAUDI_AVAILABLE=true
  - python: nightly
    env: DES_BACKEND='torch'
  - python: nightly
    env: PYAUDI_AVAILABLE=true
  
before_install:
  - pip install -r requirements.txt
  - if [[ $PYAUDI_AVAILABLE == true ]]; then pip3 install pyaudi>=1.7; fi
  - if [[ "$DES_BACKEND" == "torch" ]]; then pip3 install torch==1.3.1+cpu torchvision==0.4.2+cpu -f https://download.pytorch.org/whl/torch_stable.html; fi
# command to install dependencies
install:
  - pip install .
# command to run tests
script:
  - nosetests

{'fraction_non_alphanumeric': 0.1332886805090422, 'fraction_numerical': 0.02679169457468185, 'mean_word_length': 3.28080229226361, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6360660', 'n_tokens_mistral': 597, 'n_tokens_neox': 588, 'n_words': 131}