1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-16 23:53:02 +01:00
toxic/.travis.yml

53 lines
1.5 KiB
YAML
Raw Normal View History

2013-08-24 00:41:32 +02:00
language: c
compiler:
- gcc
- clang
2013-08-24 00:41:32 +02:00
before_script:
# Installing yasm (needed for compiling vpx) and openal
- sudo apt-get -yq install yasm libopenal-dev libconfig-dev libalut-dev libnotify-dev clang llvm-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
2015-06-12 09:59:26 +02:00
- git checkout tags/1.0.3 > /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
2015-06-12 09:59:26 +02:00
- wget http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz
- tar xzf opus-1.1.tar.gz > /dev/null
- cd opus-1.1
2014-03-11 05:00:53 +01:00
- ./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
2015-06-12 09:59:26 +02:00
- git clone https://chromium.googlesource.com/webm/libvpx 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:
2014-06-24 10:53:24 +02:00
- make -j2 || make || exit 1
2013-08-24 00:41:32 +02:00
notifications:
email: false
2015-04-04 09:42:43 +02:00
irc:
channels:
- "chat.freenode.net#tox-dev"
on_success: always
on_failure: always