tox-weechat/.travis.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

2014-09-02 22:23:09 +02:00
language: c
2014-09-18 18:06:02 +02:00
install:
- _libsodium_version=0.7.0
2014-09-03 14:36:54 +02:00
- _weechat_version=v1.0
2014-09-18 18:16:15 +02:00
- _libjansson_version=v2.5
2014-09-03 14:36:54 +02:00
2014-09-18 17:54:11 +02:00
# install libjansson
2014-09-18 18:31:08 +02:00
- git clone git://github.com/akheron/jansson.git
2014-09-18 18:16:15 +02:00
- pushd jansson
- git checkout tags/${_libjansson_version}
2014-09-18 18:31:08 +02:00
- autoreconf -i
2014-09-18 18:16:15 +02:00
- ./configure --prefix=/usr
- make -j3
- sudo make install
- popd
2014-09-18 17:54:11 +02:00
2014-09-03 14:36:54 +02:00
# install libsodium (needed for libtoxcore)
2014-09-18 18:16:15 +02:00
- git clone git://github.com/jedisct1/libsodium.git
2014-09-02 22:23:09 +02:00
- pushd libsodium
2014-09-18 18:16:15 +02:00
- git checkout tags/${_libsodium_version}
- ./autogen.sh
- ./configure --prefix=/usr
- make -j3
- sudo make install
2014-09-02 22:23:09 +02:00
- popd
2014-09-18 18:16:15 +02:00
# install libtoxcore
- git clone git://github.com/irungentoo/toxcore
2014-09-02 22:23:09 +02:00
- pushd toxcore
2014-09-18 18:16:15 +02:00
- autoreconf -i
- ./configure --prefix=/usr --disable-testing --disable-ntox
- make -j3
- sudo make install
2014-09-02 22:23:09 +02:00
- popd
# install weechat
2014-09-18 18:16:15 +02:00
- git clone git://github.com/weechat/weechat
- pushd weechat
2014-09-18 18:16:15 +02:00
- git checkout tags/${_weechat_version}
- mkdir build && cd build
2014-09-18 18:16:15 +02:00
- cmake .. -DPREFIX=/usr
- make -j3
- sudo make install
- popd
2014-09-02 22:55:36 +02:00
script:
- mkdir build && cd build
- cmake ..
- make -j3