language: python
python:
    - "2.7"
    - "3.4"
before_install:
    - "pip install -U pip"
    - "pip install -U pytest"
    - "sudo apt-get update -qq"
    - "sudo apt-get install --fix-missing mercurial python3-dev python3-numpy libav-tools libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev"
    - "pip install -r requirements/travis.txt"
    - "pip install hg+http://bitbucket.org/pygame/pygame"
install:
    - "pip install ."
script:
    - py.test tests --doctest-modules --pep8 pygame_anisprite -v --cov-report term-missing --cov=pygame_anisprite
after_success:
    - coveralls