language: python
python:
    - "2.7"
before_install:
    - "export DISPLAY=:99"
    - "sh -e /etc/init.d/xvfb start"
install:
    - "make install"
    - "pip install coveralls"
script:
    - "make cover"
after_success:
    - "coveralls"

language: python
python:
    - "2.7"
branches:
    only:
      - master
before_install:
    - "export DISPLAY=:99"
    - "sh -e /etc/init.d/xvfb start"
install:
    - "make install"
    - "pip install coveralls"
script:
    - "make cover"
after_success:
    - "coveralls"

Configure Travis so it builds once instead of twice
Configure Travis so it builds once instead of twice
