tox-weechat/.travis.yml

48 lines
1.0 KiB
YAML
Raw Normal View History

2014-09-02 20:23:09 +00:00
language: c
2014-11-19 03:59:33 +00:00
before_install:
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo apt-get update -q
# install libtoxav dependencies
- sudo apt-get install -y libopus-dev libvpx-dev
2014-09-18 16:06:02 +00:00
install:
- _libsodium_version=1.0.0
2014-09-03 12:36:54 +00:00
- _weechat_version=v1.0
2014-09-28 01:29:34 +00:00
# install libsodium (libtoxcore dependency)
2014-09-18 16:16:15 +00:00
- git clone git://github.com/jedisct1/libsodium.git
2014-09-02 20:23:09 +00:00
- pushd libsodium
2014-09-18 16:16:15 +00:00
- git checkout tags/${_libsodium_version}
- ./autogen.sh
- ./configure --prefix=/usr
- make -j3
- sudo make install
2014-09-02 20:23:09 +00:00
- popd
2014-09-18 16:16:15 +00:00
# install libtoxcore
- git clone git://github.com/irungentoo/toxcore
2014-09-02 20:23:09 +00:00
- pushd toxcore
2014-09-18 16:16:15 +00:00
- autoreconf -i
- ./configure --prefix=/usr --disable-testing --disable-ntox
- make -j3
- sudo make install
2014-09-02 20:23:09 +00:00
- popd
# install weechat
2014-09-18 16:16:15 +00:00
- git clone git://github.com/weechat/weechat
- pushd weechat
2014-09-18 16:16:15 +00:00
- git checkout tags/${_weechat_version}
- mkdir build && cd build
2014-09-18 16:16:15 +00:00
- cmake .. -DPREFIX=/usr
- make -j3
- sudo make install
- popd
2014-09-02 20:55:36 +00:00
script:
- mkdir build && cd build
- cmake ..
- make -j3