forked from RicinApp/Ricin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (58 loc) · 1.6 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: vala
sudo: required
dist: trusty
compiler:
- gcc
install:
# Utils
- sudo apt-add-repository ppa:vala-team/ppa -y
- sudo apt-add-repository ppa:mc3man/trusty-media -y
# Travis requires gtk+ 3.16 to compile.
- sudo apt-add-repository ppa:ubuntu-desktop/ppa -y
- sudo apt-get update -q
- sudo apt-get install -y checkinstall build-essential libglib2.0-dev gtk+3.0 libgtk-3-dev libgdk-pixbuf2.0-dev libsoup2.4-dev libjson-glib-dev libnotify-bin python3 valac-0.30 libnotify-dev libopus-dev ffmpeg
before_script:
# ninja
- git clone git://github.com/martine/ninja.git
- cd ninja
- git checkout release
- ./configure.py --bootstrap
- sudo cp ./ninja /usr/bin/ninja
- cd ..
# meson
- wget https://github.com/mesonbuild/meson/releases/download/0.26.0/meson_0.26.0.tar.gz
- tar -xvf meson_0.26.0.tar.gz
- cd meson-0.26.0
- sudo python3 install_meson.py --prefix=/usr
- cd ..
# filter_audio
- git clone https://github.com/irungentoo/filter_audio
- cd filter_audio
- make -j$(nproc)
- sudo make install
- cd ..
# libsodium
- git clone git://github.com/jedisct1/libsodium.git
- cd libsodium
- git checkout tags/1.0.3
- ./autogen.sh
- ./configure && make -j$(nproc)
- sudo checkinstall --install --pkgname libsodium --pkgversion 1.0.0 --nodoc -y
- sudo ldconfig
- cd ..
# Toxcore
- git clone https://github.com/irungentoo/toxcore.git
- cd toxcore
- autoreconf -if
- ./configure
- make -j$(nproc)
- sudo make install
- echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
- sudo ldconfig
- cd ..
script:
- mkdir build
- meson . build
- make debug
notifications:
email: false