tox-weechat/.travis.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2014-09-02 22:23:09 +02:00
language: c
before_script:
- _libsodium_version=0.7.0
2014-09-03 14:36:54 +02:00
- _weechat_version=v1.0
2014-09-18 17:54:11 +02:00
# install libjansson
sudo apt-get install libjansson-dev
2014-09-03 14:36:54 +02:00
# install libsodium (needed for libtoxcore)
2014-09-02 22:23:09 +02:00
- git clone git://github.com/jedisct1/libsodium.git > /dev/null
- pushd libsodium
2014-09-02 22:31:06 +02:00
- git checkout tags/${_libsodium_version} > /dev/null
2014-09-02 22:23:09 +02:00
- ./autogen.sh > /dev/null
- ./configure --prefix=/usr > /dev/null
- make -j3 > /dev/null
- sudo make install > /dev/null
2014-09-02 22:23:09 +02: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 22:23:09 +02:00
- make -j3 > /dev/null
- sudo make install > /dev/null
2014-09-02 22:23:09 +02:00
- popd
# install weechat
- git clone git://github.com/weechat/weechat > /dev/null
- pushd weechat
2014-09-03 14:36:54 +02: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 22:55:36 +02:00
script:
- mkdir build && cd build
- cmake ..
- make -j3