sudo: false

language: python

python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"

env:
  - DJANGO="Django>=1.8,<1.9"
  - DJANGO="Django>=1.9,<1.10"
  - DJANGO="Django>=1.10,<1.11"
  - DJANGO="Django>=1.11,<2.0"

cache:
  directories:
  - $HOME/.cache/pip/wheels

install:
  - nvm install 7
  - pip install -U pip wheel setuptools
  - pip install $DJANGO -e .[tests]
  - pip freeze

script:
  - python runtests.py
  - cd js_client && npm install --progress=false && npm test && cd ..
  - flake8
  - isort --check-only --recursive channels

sudo: false

language: python

python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"

env:
  - DJANGO="Django>=1.8,<1.9"
  - DJANGO="Django>=1.9,<1.10"
  - DJANGO="Django>=1.10,<1.11"
  - DJANGO="Django>=1.11,<2.0"

cache:
  directories:
  - $HOME/.cache/pip/wheels

install:
  - nvm install 7
  - pip install -U pip wheel setuptools
  - pip install $DJANGO -e .[tests]
  - pip freeze

script:
  - python runtests.py
#  - cd js_client && npm install --progress=false && npm test && cd ..
  - flake8
  - isort --check-only --recursive channels

Remove JS tests from CI for now
Remove JS tests from CI for now
