-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
34 lines (30 loc) · 943 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
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "nightly"
sudo: required
env:
- AUDIODEV=null
# install dependencies
# we have to upgrade pip to accept the .[dev] option
install:
- sudo apt-get install python3-dev mercurial
- sudo apt-get update
- sudo apt-get -y install mercurial
- hg clone https://bitbucket.org/pygame/pygame
- sudo apt-get update
- sudo apt-get install -y python3-dev python3-numpy 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 libfreetype6-dev
- pip3 install hg+http://bitbucket.org/pygame/pygame
- pip install pgzero
- pip install pip -U
- pip install .[dev] -r requirements.txt
- pip install coveralls pytest-cov
- pip install Pillow
- pip install FGAme
# run tests
script:
- py.test src/FGAme/tests/ --cov
after_success:
- coveralls