blob: 5448aac5984ee34a99e613504561acccf8c12467 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
set -e -u -x
. other/travis/env-$ENV.sh
# Build toxcore and run tests.
./autogen.sh
./configure \
--with-libsodium-libs=$CACHE_DIR/lib \
--with-libsodium-headers=$CACHE_DIR/include \
--enable-daemon \
--enable-logging \
--enable-ntox \
CFLAGS="-DTRAVIS_ENV=1"
# We use make instead of RUN $MAKE here, because the autotools build will only
# ever run natively on the Linux container, never on a Windows cross compilation
# docker instance or an OSX machine.
make distcheck -j$NPROC -k
|