os: linux
language: python
python: 3.5

virtualenv:
  system_site_packages: true

before_install:
  - sudo apt-get install python-gi python3-gi python-dbus python3-dbus

install:
  - pip install -r "pip_reqs.txt"

script:
  - python -m pytest tests/test_libnotify.py

after_success:
  - coverage run src/libnotify_terminal.py
  - coverage xml
  - python-codacy-coverage
os: linux
language: python
python: 3.5

virtualenv:
  system_site_packages: true

addons:
  apt:
    packages:
      - python-gi
      - python3-gi
      - python-dbus
      - python3-dbus

install:
  - pip install -r "pip_reqs.txt"

script:
  - python -m pytest tests/test_libnotify.py

after_success:
  - coverage run src/libnotify_terminal.py
  - coverage xml
  - python-codacy-coverage
Use apt addon to install packages
Use apt addon to install packages

