tox-weechat/.travis.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2014-09-02 20:23:09 +00:00
language: c
before_script:
- _libsodium_version=0.7.0
2014-09-03 12:36:54 +00:00
- _weechat_version=v1.0
2014-09-18 15:54:11 +00:00
# install libjansson
sudo apt-get install libjansson-dev
2014-09-03 12:36:54 +00:00
# install libsodium (needed for libtoxcore)
2014-09-02 20:23:09 +00:00
- git clone git://github.com/jedisct1/libsodium.git > /dev/null
- pushd libsodium
2014-09-02 20:31:06 +00:00
- git checkout tags/${_libsodium_version} > /dev/null
2014-09-02 20:23:09 +00:00
- ./autogen.sh > /dev/null
- ./configure --prefix=/usr > /dev/null
- make -j3 > /dev/null
- sudo make install > /dev/null
2014-09-02 20:23:09 +00:00
- popd
# install toxcore
- git clone git://github.com/irungentoo/toxcore > /dev/null
- pushd toxcore
- autoreconf -i > /dev/null
- ./configure --prefix=/usr --disable-testing --disable-ntox > /dev/null
2014-09-02 20:23:09 +00:00
- make -j3 > /dev/null
- sudo make install > /dev/null
2014-09-02 20:23:09 +00:00
- popd
# install weechat
- git clone git://github.com/weechat/weechat > /dev/null
- pushd weechat
2014-09-03 12:36:54 +00:00
- git checkout tags/${_weechat_version} > /dev/null
- mkdir build && cd build
- cmake .. -DPREFIX=/usr > /dev/null
- make -j3 > /dev/null
- sudo make install > /dev/null
- popd
2014-09-02 20:55:36 +00:00
script:
- mkdir build && cd build
- cmake ..
- make -j3