dependencies:
  pre:
    - sudo apt-get update; sudo apt-get install python-matplotlib python3-matplotlib python-tk python3-tk
  override:
    - pip install tox tox-pyenv mkdocs
    - pyenv local 2.7.10 3.5.1

notify:
  webhooks:
    - url: https://webhooks.gitter.im/e/3e39fb29521e82ee001d

test:
  override:
    - tox

deployment:
  master:
    branch: master
    commands:
      - mkdocs gh-deploy

dependencies:
  pre:
    - sudo apt-get update; sudo apt-get install python-matplotlib python3-matplotlib python-tk python3-tk
  override:
    - pip install tox tox-pyenv mkdocs
    - pyenv local 2.7.10 3.5.1

notify:
  webhooks:
    - url: https://webhooks.gitter.im/e/3e39fb29521e82ee001d

test:
  pre:
    - echo "backend : WXAgg" >> ~/.config/matplotlib/matplotlibrc
  override:
    - tox

deployment:
  master:
    branch: master
    commands:
      - mkdocs gh-deploy

Use compatible Matplotlib backend on CircleCI
Use compatible Matplotlib backend on CircleCI
