-
Notifications
You must be signed in to change notification settings - Fork 50
/
.travis.yml
26 lines (26 loc) · 956 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
dist: trusty
language: python
python:
- "2.7"
before_install:
- "export DISPLAY=:99.0"
- sudo apt-get update -qq
- sudo apt-get install -y python-setuptools python-qt4 python-qt4-gl git-core python-qt4-phonon build-essential python-dev subversion python-pygame swig
# Install SWIG >= 3 for box2d-py (See #83).
- echo deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse | sudo tee /etc/apt/sources.list.d/box2d-py-swig.list
- sudo apt-get -y install -t trusty-backports swig3.0
- sudo apt-get remove swig swig2.0
- sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
- swig -version
- sudo easy_install pip
- git clone https://github.com/pybox2d/pybox2d
- cd pybox2d
- python setup.py build
- sudo python setup.py install
- cd ..
#- pip install -U box2d
- "sh -e /etc/init.d/xvfb start"
script:
- python -m unittest discover pilasengine/tests '*.py'
virtualenv:
system_site_packages: true