From d820a719cb83b7c9ae35db981b1e6767efe10e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Pettersson?= Date: Tue, 2 Sep 2014 22:23:09 +0200 Subject: [PATCH] Added .travis.yml. --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c0ca6e9 --- /dev/null +++ b/.travis.yml @@ -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