Added .travis.yml.
This commit is contained in:
parent
f8ded4fc62
commit
d820a719cb
1 changed files with 21 additions and 0 deletions
21
.travis.yml
Normal file
21
.travis.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
language: c
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
# install libsodium (needed for libtoxcore)
|
||||||
|
- git clone git://github.com/jedisct1/libsodium.git > /dev/null
|
||||||
|
- pushd libsodium
|
||||||
|
git checkout tags/${_libsodium_version} > /dev/null
|
||||||
|
- ./autogen.sh > /dev/null
|
||||||
|
- ./configure --prefix=/usr > /dev/null
|
||||||
|
- make -j3 > /dev/null
|
||||||
|
- 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 --disable-dht-bootstrap-daemon > /dev/null
|
||||||
|
- make -j3 > /dev/null
|
||||||
|
- popd
|
||||||
|
|
||||||
|
script: cmake . && make -j3
|
Loading…
Reference in a new issue