language: python
python:
    - "2.7"
    - "3.3"
    - "3.4"
    - "pypy"
matrix:
    allow_failures:
        - python: "3.3"
        - python: "3.4"
    fast_finish: true
install:
    - uname -a
    - sudo apt-get update -qq
    - sudo apt-get install -qq curl protobuf-compiler libprotobuf-dev libncurses5 libc6 wget
    - sudo wget https://raw.github.com/alavrik/piqi-binary/master/Linux-x86_64/piqi -O /usr/bin/piqi
    - sudo chmod +x /usr/bin/piqi
    - pip install --upgrade https://bitbucket.org/logilab/astroid/get/5ed6266cab78.zip
    - if [[ ${TRAVIS_PYTHON_VERSION:0:1} == '3' ]];
            then pip install -r requirements-dev-py3.txt;
            else pip install -r requirements-dev-py2.txt;
        fi;
    - python setup.py build
script: make test && make check

language: python
python:
    - "2.7"
    - "3.3"
    - "3.4"
    - "3.5"
    - "3.5-dev"
    - "nightly"
    - "pypy"
    - "pypy3"
matrix:
    allow_failures:
        - python: "3.3"
        - python: "3.4"
        - python: "3.5"
        - python: "3.5-dev"
        - python: "nightly"
        - python: "pypy3"
    fast_finish: true
install:
    - uname -a
    - sudo apt-get update -qq
    - sudo apt-get install -qq curl protobuf-compiler libprotobuf-dev libncurses5 libc6 wget
    - sudo wget https://raw.github.com/alavrik/piqi-binary/master/Linux-x86_64/piqi -O /usr/bin/piqi
    - sudo chmod +x /usr/bin/piqi
    - pip install --upgrade https://bitbucket.org/logilab/astroid/get/5ed6266cab78.zip
    - if [[ ${TRAVIS_PYTHON_VERSION:0:1} == '3' ]];
            then pip install -r requirements-dev-py3.txt;
            else pip install -r requirements-dev-py2.txt;
        fi;
    - python setup.py build
script: make test && make check

Build with more Python versions
Build with more Python versions
