forked from CTPUG/pygame_cffi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (39 loc) · 829 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
- nightly
- pypy
# Not useable until PyPy 2.6 is available
#- pypy3
# We force an overwrite of the virtualenv so we run the tests with the
# pypy from the ppa
before_install:
- |
if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
VPATH=$VIRTUAL_ENV
deactivate
# The old files break pip, so get rid of them
rm -rf $VPATH/lib-python $VPATH/bin
virtualenv -p /usr/bin/pypy $VPATH
source $VPATH/bin/activate
fi
install: pip install -e .
script: AUDIODEV=null xvfb-run python -m test
sudo: false
addons:
apt:
sources:
- pypy
packages:
- libffi-dev
- libjpeg-dev
- libpng-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf2.0-dev
- libsdl1.2-dev
- pypy
- xvfb