tox-weechat/.travis.yml
Håvard Pettersson 8f1d0070c3 Mass refactor 💥
2014-09-28 05:20:53 +02:00

41 lines
847 B
YAML

language: c
install:
- _libsodium_version=0.7.0
- _weechat_version=v1.0
# install libsodium (libtoxcore dependency)
- git clone git://github.com/jedisct1/libsodium.git
- pushd libsodium
- git checkout tags/${_libsodium_version}
- ./autogen.sh
- ./configure --prefix=/usr
- make -j3
- sudo make install
- popd
# install libtoxcore
- git clone git://github.com/irungentoo/toxcore
- pushd toxcore
- autoreconf -i
- ./configure --prefix=/usr --disable-testing --disable-ntox
- make -j3
- sudo make install
- popd
# install weechat
- git clone git://github.com/weechat/weechat
- pushd weechat
- git checkout tags/${_weechat_version}
- mkdir build && cd build
- cmake .. -DPREFIX=/usr
- make -j3
- sudo make install
- popd
script:
- mkdir build && cd build
- cmake ..
- make -j3