1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-14 18:03:02 +01:00
toxic/.travis.yml

54 lines
1.5 KiB
YAML
Raw Normal View History

2013-08-24 00:41:32 +02:00
language: c
compiler:
- gcc
# - clang # Fix me
2013-08-24 00:41:32 +02:00
before_script:
# Installing yasm (needed for compiling vpx) and openal
2014-07-21 12:50:29 +02:00
- sudo apt-get -yq install yasm libopenal-dev libconfig-dev libalut-dev
2014-06-24 10:53:24 +02:00
# Installing libsodium, needed for toxcore
2014-06-24 12:06:13 +02:00
- git clone https://github.com/jedisct1/libsodium.git libsodium
2013-08-24 00:41:32 +02:00
- cd libsodium
2014-09-15 00:08:42 +02:00
- git checkout tags/0.7.0 > /dev/null
2014-03-11 05:00:53 +01:00
- ./autogen.sh > /dev/null
- ./configure > /dev/null
2014-06-24 10:53:24 +02:00
- make check -j2 || make check || exit 1 > /dev/null
2014-03-11 05:00:53 +01:00
- sudo make install > /dev/null
- cd ..
2014-06-24 10:53:24 +02:00
# Installing libopus, needed for audio encoding/decoding
2014-06-24 12:06:13 +02:00
- wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
2014-03-11 05:00:53 +01:00
- tar xzf opus-1.0.3.tar.gz > /dev/null
- cd opus-1.0.3
- ./configure > /dev/null
2014-06-24 10:53:24 +02:00
- make -j2 || make || exit 1 > /dev/null
2014-03-11 05:00:53 +01:00
- sudo make install > /dev/null
- cd ..
2014-06-24 10:53:24 +02:00
# Installing vpx
2014-06-24 12:06:13 +02:00
- git clone http://git.chromium.org/webm/libvpx.git libvpx
2014-03-11 05:00:53 +01:00
- cd libvpx
- ./configure --enable-shared > /dev/null
2014-06-24 10:53:24 +02:00
- make -j2 || make || exit 1 > /dev/null
2014-03-11 05:00:53 +01:00
- sudo make install > /dev/null
- cd ..
2014-06-24 10:53:24 +02:00
# Creating libraries links and updating cache
2014-03-11 05:00:53 +01:00
- sudo ldconfig > /dev/null
2014-06-24 10:53:24 +02:00
# Installing toxcore
- git clone https://github.com/irungentoo/toxcore.git toxcore
2013-08-24 01:05:58 +02:00
- cd toxcore
2013-08-24 04:45:08 +02:00
- autoreconf -i
- ./configure --disable-tests --disable-ntox --disable-daemon --enable-av
- make -j2 || make || exit 1
2013-08-24 04:45:08 +02:00
- sudo make install
2013-08-24 04:56:10 +02:00
- cd ..
2013-08-24 00:41:32 +02:00
script:
- cd build
2014-06-24 10:53:24 +02:00
- make -j2 || make || exit 1
2013-08-24 00:41:32 +02:00
notifications:
email: false
irc:
channels:
- "chat.freenode.net#tox-dev"
on_success: always
on_failure: always