language: python
python:
  - "3.2"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.5-dev"
  - "3.6-dev"
  - "nightly"
install: "pip install -r requirements.txt"
script: nosetests
language: python

branches:
  only:
    - master

matrix:
  include:
    - os: linux
      sudo: required
      dist: trusty
      language: generic
      env: PYTHON="python3" PACKAGES="python3-gi python3-gi-cairo python3-nose"

install:
 - sudo apt-get update -q
 - sudo apt-get install --no-install-recommends -y gir1.2-notify-0.7 gir1.2-gtk-3.0 $(echo $PACKAGES)
 - virtualenv --python=$PYTHON --system-site-packages _venv
 - source _venv/bin/activate
 - pip install -r requirements.txt

script: python3 -m "nose"

Fix build for Travis CI
Fix build for Travis CI
