machine:
  python:
    version: 3.5.2

dependencies:
  override:
    - pip install -r dev-requirements.txt

test:
  pre:
    - cp blog/settings.example.cfg blog/settings.cfg
  override:
    - export BLOG_PATH=$(pwd) && coverage run --source blog -m unittest tests/**.py

machine:
  python:
    version: 3.5.2

general:
  artifacts:
    - "htmlcov/"

dependencies:
  override:
    - pip install -r dev-requirements.txt

test:
  pre:
    - cp blog/settings.example.cfg blog/settings.cfg
  override:
    - export BLOG_PATH=$(pwd) && coverage run --source blog -m unittest tests/**.py
  post:
    - coverage html

Save HTML Coverage Reports as Artifact
Save HTML Coverage Reports as Artifact
