-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
27 lines (22 loc) · 1017 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
dist: trusty
sudo: required
language: generic
before_install:
# Required by Buildozer Android
# https://buildozer.readthedocs.io/en/latest/installation.html#android-on-ubuntu-12-04-64bit
- sudo apt-get update -q
- sudo apt-get install build-essential ccache git lib32z1 lib32bz2-1.0 libncurses5:i386 libstdc++6:i386 python2.7 python2.7-dev openjdk-7-jdk unzip zlib1g-dev zlib1g:i386
# Required by Kivy
# https://kivy.org/docs/installation/installation-linux.html#dependencies-with-sdl2
- sudo apt-get install python-pip build-essential git python-dev libmtdev-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-dev
- sudo apt-get install xvfb
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
env:
matrix:
- SCRIPT_COMMAND="./travis/script_linux.sh"
script:
# runs in parallel
- (eval "$SCRIPT_COMMAND")