language: python

python:
    - 2.7
    - 3.3
    - 3.5
    - pypy

env:
    global:
        - PYFLAKES_NODOCTEST=1
    matrix:
        - TWISTED=Twisted==15.5
        - TWISTED=Twisted==16.4
        - TWISTED=https://github.com/twisted/twisted/archive/trunk.zip

matrix:
    exclude:
        - python: 3.3
          env: TWISTED=Twisted==15.5
        - python: 3.5
          env: TWISTED=Twisted==15.5

install:
    - pip install pyflakes --use-mirrors
    - pip install -q $TWISTED --use-mirrors
    - python setup.py install

script:
    - pyflakes wokkel twisted
    - trial wokkel

language: python

python:
    - 2.7
    - 3.3
    - 3.5
    - pypy

env:
    global:
        - PYFLAKES_NODOCTEST=1
    matrix:
        - TWISTED=Twisted==15.5
        - TWISTED=Twisted==16.4
        - TWISTED=https://github.com/twisted/twisted/archive/trunk.zip

matrix:
    exclude:
        - python: 3.3
          env: TWISTED=Twisted==15.5
        - python: 3.5
          env: TWISTED=Twisted==15.5

install:
    - pip install pyflakes
    - pip install -q $TWISTED
    - python setup.py install

script:
    - pyflakes wokkel twisted
    - trial wokkel

Remove --use-mirrors from pip command.
Remove --use-mirrors from pip command.
