-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (42 loc) · 1.67 KB
/
.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
41
42
43
44
45
46
47
48
# Travis CI config for the Limba Neverball example
language: c
compiler:
- gcc
before_install:
- sudo add-apt-repository "deb mirror://mirrors.ubuntu.com/US.txt utopic main restricted universe multiverse" -y
- sudo apt-get update -qq
install:
- sudo rm -f /etc/dpkg/dpkg.cfg.d/multiarch
- sudo apt-get install -qq base-files software-properties-common build-essential zlib1g # workarounds for upgrade issues
before_script:
- env | sort
- uname -m && uname -r
- sudo add-apt-repository ppa:ximion/packagekit -y
- sudo apt-get update -qq
# Limba dependencies
- sudo apt-get install -qq cmake intltool xmlto libglib2.0-dev uuid-dev libarchive-dev libappstream-dev libgpgme11-dev gtk-doc-tools libgirepository1.0-dev libpolkit-gobject-1-dev libcurl4-gnutls-dev
# Dependencies of Neverball components
# NOTE: We should build with exactly the versions we used to build the package, later - this is just
# for convenience & easy testing.
- sudo apt-get build-dep -qq libsdl2-ttf
- sudo apt-get build-dep -qq libsdl2
- sudo apt-get build-dep -qq libphysfs
- sudo apt-get build-dep -qq libxss
- sudo apt-get build-dep -qq libvorbis
- sudo apt-get build-dep -qq libogg
- sudo apt-get build-dep -qq libpng
- sudo apt-get build-dep -qq libjpeg-turbo
- sudo apt-get build-dep -qq freetype
- sudo apt-get build-dep -qq neverball
script:
# Build Limba
- git clone --depth=4 --branch=master https://github.com/ximion/limba.git limba-dist
- cd limba-dist
- mkdir build && cd build
- cmake -DLICOMPILE=ON ..
- make && sudo make install
- cd ../..
# generate temporary key
- gpg --batch --gen-key tmpkey.batch
# Build Limba-Neverball
- sudo ./make_all.sh