language: python
dist: xenial
python:
    - 2.7
    - 3.6
    - 3.7
    - 3.8
    - 3.9
addons:
    apt:
        packages:
            - graphviz
install:
    - pip install coverage coverage-python-version coveralls flake8 -e .
before_script:
    - make flake8
script:
    - coverage run tests.py
    - coverage report -m --fail-under=100
after_success:
    - coveralls
notifications:
    email: false

language: python
cache: pip
python:
  - 2.7
  - 3.6
  - 3.7
  - 3.8
  - 3.9
addons:
  apt:
    packages:
      - graphviz
install:
  - pip install coverage coverage-python-version coveralls flake8 -e .
before_script:
  - make flake8
script:
  - coverage run tests.py
  - coverage report -m --fail-under=100
after_success:
  - coveralls

notifications:
  irc:
    channels:
      - "chat.freenode.net##mgedmin"
    on_success: change
    on_failure: always
    template:
      # ping my nick so I get a pushbullet notification on my phone
      - "mgedmin: %{repository_name} (%{branch}) build %{result}: %{build_url}"

Enable IRC notifications on failed builds
Enable IRC notifications on failed builds
