2012-10-18 15:47:49 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
# command to install dependencies
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
2012-10-23 13:54:47 +00:00
|
|
|
- sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libjpeg-dev libtiff4-dev libx11-6 libX11-dev
|
2012-10-23 14:05:41 +00:00
|
|
|
- sudo apt-get install python-setuptools python-opengl gstreamer0.10-plugins-good build-essential libgl1-mesa-dev libgles2-mesa-dev mercurial
|
2012-10-23 14:21:59 +00:00
|
|
|
- sudo apt-get install xvfb
|
2012-10-18 15:47:49 +00:00
|
|
|
|
|
|
|
install:
|
2012-10-23 14:05:41 +00:00
|
|
|
- pip install hg+http://bitbucket.org/pygame/pygame
|
2012-10-21 11:18:55 +00:00
|
|
|
- pip install --upgrade cython pil --use-mirrors
|
2012-10-18 15:58:05 +00:00
|
|
|
- make
|
2012-10-18 15:47:49 +00:00
|
|
|
|
|
|
|
# command to run tests
|
|
|
|
script:
|
2012-10-23 14:21:59 +00:00
|
|
|
- xvfb-run -s "+extension GLX" make test
|