tox-weechat/.travis.yml

49 lines
1.1 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
2015-09-02 21:05:45 +00:00
- sudo add-apt-repository -y ppa:kalakris/cmake
2014-11-19 03:59:33 +00:00
- sudo apt-get update -q
2015-09-02 21:05:45 +00:00
# install libtoxav dependencies and a newer version of cmake
- sudo apt-get install -y libopus-dev libvpx-dev cmake
2014-11-19 03:59:33 +00:00
2014-09-18 16:06:02 +00:00
install:
- _libsodium_version=1.0.0
2016-05-10 09:40:54 +00:00
- _weechat_version=v1.5
2014-09-03 12:36:54 +00:00
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
2015-09-02 21:05:28 +00:00
- ./configure
2014-09-18 16:16:15 +00:00
- 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
2015-09-02 21:05:28 +00:00
- ./configure --disable-testing --disable-ntox
2014-09-18 16:16:15 +00:00
- 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
2015-09-02 21:05:28 +00:00
- cmake ..
2014-09-18 16:16:15 +00:00
- make -j3
- sudo make install
- popd
2014-09-02 20:55:36 +00:00
script:
- mkdir build && cd build
- cmake ..
- make -j3