1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 16:27:46 +02:00
toxic/.travis.yml

66 lines
1.9 KiB
YAML
Raw Normal View History

2013-08-24 00:41:32 +02:00
language: c
compiler:
- gcc
- clang
before_script:
2014-06-24 10:53:24 +02:00
# Installing libsodium, needed for toxcore
2014-03-11 05:00:53 +01:00
- git clone git://github.com/jedisct1/libsodium.git > /dev/null
2013-08-24 00:41:32 +02:00
- cd libsodium
2014-03-11 05:00:53 +01:00
- git checkout tags/0.4.2 > /dev/null
- ./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 yasm, needed for compiling vpx
- sudo apt-get -yq install yasm > /dev/null
# Installing libconfig, needed for DHT_bootstrap_daemon
#- wget http://www.hyperrealm.com/libconfig/libconfig-1.4.9.tar.gz > /dev/null
#- tar -xvzf libconfig-1.4.9.tar.gz > /dev/null
#- cd libconfig-1.4.9
#- ./configure > /dev/null
#- make -j2 || make || exit 1 > /dev/null
#- sudo make install > /dev/null
#- cd ..
# Installing libopus, needed for audio encoding/decoding
2014-03-11 05:00:53 +01:00
- wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz > /dev/null
- 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-03-11 05:00:53 +01:00
- git clone http://git.chromium.org/webm/libvpx.git > /dev/null
- 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
2014-03-11 05:00:53 +01:00
- ./configure --disable-tests --disable-ntox --disable-daemon --enable-av
2014-06-24 10:53:24 +02:00
- 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 ..
2014-06-24 10:53:24 +02:00
# Installing openal
- sudo apt-get -yq install libopenal-dev
2013-08-24 00:41:32 +02:00
script:
2014-06-24 10:53:24 +02:00
#- autoreconf -i
#- ./configure
- cd src
- 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