summaryrefslogtreecommitdiff
path: root/other/travis/autotools-script
diff options
context:
space:
mode:
Diffstat (limited to 'other/travis/autotools-script')
-rwxr-xr-xother/travis/autotools-script20
1 files changed, 20 insertions, 0 deletions
diff --git a/other/travis/autotools-script b/other/travis/autotools-script
new file mode 100755
index 00000000..284a52d4
--- /dev/null
+++ b/other/travis/autotools-script
@@ -0,0 +1,20 @@
1#!/bin/sh
2
3set -e -x
4
5# Build toxcore and run tests.
6./autogen.sh
7./configure \
8 --with-libsodium-libs=$CACHE_DIR/lib \
9 --with-libsodium-headers=$CACHE_DIR/include \
10 --enable-daemon \
11 --enable-logging \
12 --enable-ntox
13
14make -j `nproc`
15# This doesn't currently work on Travis, because the autotools build is broken.
16# It does not look up libsodium by pkg-config, so without the --with flags it
17# won't find it. We don't care that much about distcheck at this point, but we
18# do care whether it configures/builds at all, which is exercised by the make
19# call above. Tests are executed by the cmake build.
20make distcheck -j `nproc` || true