<commit_before>sudo: false

language: python

python:
  - "3.5"
  - "3.6"

env:
  - DJANGO="Django>=1.11,<2.0"
  - DJANGO="Django>=2.0,<2.1"

install:
  - nvm install 7
  - pip install git+https://github.com/django/daphne@2.0
  - pip install -U pip wheel setuptools flake8 isort unify
  - pip install $DJANGO -e .[tests]
  - pip freeze

script:
  - pytest
  - flake8
  - isort --check-only --diff --recursive channels tests
  - unify --check-only --recursive --quote \" channels tests

jobs:
  include:
    - stage: test_js
      script: cd js_client && npm install --progress=false && npm test && cd ..
    - stage: release
      script: skip<commit_msg>Disable JS tests again for now<commit_after>sudo: false

language: python

python:
  - "3.5"
  - "3.6"

env:
  - DJANGO="Django>=1.11,<2.0"
  - DJANGO="Django>=2.0,<2.1"

install:
  - nvm install 7
  - pip install git+https://github.com/django/daphne@2.0
  - pip install -U pip wheel setuptools flake8 isort unify
  - pip install $DJANGO -e .[tests]
  - pip freeze

script:
  - pytest
  - flake8
  - isort --check-only --diff --recursive channels tests
  - unify --check-only --recursive --quote \" channels tests

jobs:
  include:
    #- stage: test_js
    #  script: cd js_client && npm install --progress=false && npm test && cd ..
    - stage: release
      script: skip
{'fraction_non_alphanumeric': 0.14597441685477802, 'fraction_numerical': 0.02708803611738149, 'mean_word_length': 2.5, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4683624', 'n_tokens_mistral': 519, 'n_tokens_neox': 502, 'n_words': 134}