2014-09-02 20:23:09 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
# install libsodium (needed for libtoxcore)
|
2014-09-02 20:35:18 +00:00
|
|
|
- _libsodium_version=0.4.5
|
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
|
2014-09-02 20:35:18 +00:00
|
|
|
- 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
|
2014-09-02 20:35:18 +00:00
|
|
|
- ./configure --prefix=/usr --disable-testing --disable-ntox > /dev/null
|
2014-09-02 20:23:09 +00:00
|
|
|
- make -j3 > /dev/null
|
2014-09-02 20:35:18 +00:00
|
|
|
- sudo make install > /dev/null
|
2014-09-02 20:23:09 +00:00
|
|
|
- popd
|
|
|
|
|
|
|
|
script: cmake . && make -j3
|