machine:
  python:
    version: 3.6.1

dependencies:
  pre:
    - pip install -e .[testing]

test:
  override:
    - flake8 wagtail
#    - isort --check-only --diff --recursive wagtail
    - npm run lint:js
    - npm run lint:css
    - python -u runtests.py
    - npm run test:unit:coverage -- --runInBand
    - npm run dist

machine:
  python:
    version: 3.6.1
  node:
    version: 8.9.3

dependencies:
  pre:
    - pip install -e .[testing]

test:
  override:
    - flake8 wagtail
#    - isort --check-only --diff --recursive wagtail
    - npm run lint:js
    - npm run lint:css
    - python -u runtests.py
    - npm run test:unit:coverage -- --runInBand
    - npm run dist

Configure CircleCI to use node 8
Configure CircleCI to use node 8
