machine:
  python:
    version: "3.5.2"

dependencies:
  pre:
    - pip install pytest pytest-cov fakeredis
    - pip install flake8 flake8-docstrings
    - sudo apt-get update ; sudo apt-get install python3 python3-setuptools
    - gem install fpm
  override:
    - rm -rf jacquard_split.egg-info
    - pip install .

test:
  pre:
    - find . -name '__pycache__' -or -name '*.pyc' | xargs rm -rf
  override:
    - mkdir -p $CIRCLE_TEST_REPORTS/pytest
    - py.test -v --cov=jacquard --junit-xml=$CIRCLE_TEST_REPORTS/pytest/junit.xml jacquard
    - flake8 --exclude=tests jacquard
  post:
    - ./hax_debian.sh
    - mv *.deb $CIRCLE_ARTIFACTS/

deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)*/
    owner: prophile
    commands:
      - pip install twine wheel
      - rm -rf dist
      - python setup.py sdist bdist_wheel
      - twine upload dist/*

machine:
  python:
    version: "3.5.2"

dependencies:
  pre:
    - pip install pytest pytest-cov fakeredis
    - pip install flake8 flake8-docstrings flake8-isort
    - sudo apt-get update ; sudo apt-get install python3 python3-setuptools
    - gem install fpm
  override:
    - rm -rf jacquard_split.egg-info
    - pip install .

test:
  pre:
    - find . -name '__pycache__' -or -name '*.pyc' | xargs rm -rf
  override:
    - mkdir -p $CIRCLE_TEST_REPORTS/pytest
    - py.test -v --cov=jacquard --junit-xml=$CIRCLE_TEST_REPORTS/pytest/junit.xml jacquard
    - flake8 --exclude=tests jacquard
  post:
    - ./hax_debian.sh
    - mv *.deb $CIRCLE_ARTIFACTS/

deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)*/
    owner: prophile
    commands:
      - pip install twine wheel
      - rm -rf dist
      - python setup.py sdist bdist_wheel
      - twine upload dist/*

Test isort in test coverage
Test isort in test coverage
